mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
5db1fe64c0
Fixes #24808
14 lines
834 B
Diff
14 lines
834 B
Diff
diff --git a/vpn/openvpn/openvpnadvancedwidget.cpp b/vpn/openvpn/openvpnadvancedwidget.cpp
|
|
index 2f11ba1d..310f11b4 100644
|
|
--- a/vpn/openvpn/openvpnadvancedwidget.cpp
|
|
+++ b/vpn/openvpn/openvpnadvancedwidget.cpp
|
|
@@ -75,7 +75,7 @@ OpenVpnAdvancedWidget::OpenVpnAdvancedWidget(const NetworkManager::VpnSetting::P
|
|
connect(m_ui->cmbProxyType, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &OpenVpnAdvancedWidget::proxyTypeChanged);
|
|
|
|
// start openVPN process and get its cipher list
|
|
- const QString openVpnBinary = QStandardPaths::findExecutable("openvpn", QStringList() << "/sbin" << "/usr/sbin");
|
|
+ const QString openVpnBinary = "@openvpn@/bin/openvpn";
|
|
const QStringList ciphersArgs(QLatin1String("--show-ciphers"));
|
|
const QStringList versionArgs(QLatin1String("--version"));
|
|
|