From 41cc518e20fe10e30147b4610c62cb647005abaf Mon Sep 17 00:00:00 2001 From: Mykola Baibuz Date: Tue, 8 Aug 2023 18:16:01 -0400 Subject: [PATCH] Fix path to OpenVPN executable We have service that runs OpenVPN on Linux. We need to make same path for client and service. --- client/utilities.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/utilities.cpp b/client/utilities.cpp index 7c9c79cd..731dd2cb 100644 --- a/client/utilities.cpp +++ b/client/utilities.cpp @@ -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