mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
Merge pull request #277 from amnezia-vpn/bugfix/openvpn-path-linux
Fix path to OpenVPN executable for Linux
This commit is contained in:
@@ -219,7 +219,9 @@ QString Utils::openVpnExecPath()
|
||||
#ifdef Q_OS_WIN
|
||||
return Utils::executable("openvpn/openvpn", true);
|
||||
#elif defined Q_OS_LINUX
|
||||
return Utils::executable("openvpn", true);
|
||||
// We have service that runs OpenVPN on Linux. We need to make same
|
||||
// path for client and service.
|
||||
return Utils::executable("../../client/bin/openvpn", true);
|
||||
#else
|
||||
return Utils::executable("/openvpn", true);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user