diff options
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/vpn/launchers/linux.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/launchers/linux.py b/src/leap/bitmask/vpn/launchers/linux.py index b6bf278e..0e145e50 100644 --- a/src/leap/bitmask/vpn/launchers/linux.py +++ b/src/leap/bitmask/vpn/launchers/linux.py @@ -110,6 +110,11 @@ class LinuxVPNLauncher(VPNLauncher): return 'bitmask-root' def _version(self, bitmask_root): + # FIXME this, as a couple of other calls in the vpn modules, relies + # on having a python executable in the path. Even all modern + # default distros provide that, we should not rely on it. + # At least, we should be ready to do error handling if the binary + # is not found. out = subprocess.check_output(['python', bitmask_root, "version"]) return int(out) |