Fix path to OpenVPN executable
We have service that runs OpenVPN on Linux. We need to make same path for client and service.
This commit is contained in:
parent
508356898f
commit
41cc518e20
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue