summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--changes/bug_3450-fix-up-script1
-rw-r--r--src/leap/bitmask/services/eip/vpnlaunchers.py2
3 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index b0f9a137..18bfcd69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@
ui_*.py
!.coveragerc
!.tx
+!.gitattributes
bin/
build/
core
diff --git a/changes/bug_3450-fix-up-script b/changes/bug_3450-fix-up-script
new file mode 100644
index 00000000..39b3638e
--- /dev/null
+++ b/changes/bug_3450-fix-up-script
@@ -0,0 +1 @@
+ o Fix up script in non-bundle linuces. Closes: #3450
diff --git a/src/leap/bitmask/services/eip/vpnlaunchers.py b/src/leap/bitmask/services/eip/vpnlaunchers.py
index fb9ac46f..f8c51ad8 100644
--- a/src/leap/bitmask/services/eip/vpnlaunchers.py
+++ b/src/leap/bitmask/services/eip/vpnlaunchers.py
@@ -343,7 +343,7 @@ class LinuxVPNLauncher(VPNLauncher):
abs_path_in_bundle = os.path.join(cwd, rel_path_in_bundle)
if os.path.isfile(abs_path_in_bundle):
return abs_path_in_bundle
- abs_path_in_system = kls.OPENVPN_DOWN_ROOT_FILE
+ abs_path_in_system = kls.OPENVPN_DOWN_ROOT_PATH
if os.path.isfile(abs_path_in_system):
return abs_path_in_system