diff options
-rw-r--r-- | src/leap/bitmask/vpn/helpers/__init__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/helpers/__init__.py b/src/leap/bitmask/vpn/helpers/__init__.py index f57bd7fd..719fc5e9 100644 --- a/src/leap/bitmask/vpn/helpers/__init__.py +++ b/src/leap/bitmask/vpn/helpers/__init__.py @@ -3,7 +3,7 @@ from shutil import copyfile import os.path import sys -from leap.bitmask.vpn.constants import IS_LINUX +from leap.bitmask.vpn.constants import IS_LINUX, IS_MAC from leap.bitmask.vpn import _config from leap.bitmask.util import STANDALONE @@ -37,6 +37,12 @@ if IS_LINUX: polkit = os.path.exists(polkit_to) return helper and polkit +if IS_MAC: + + def check(): + # XXX check if bitmask-helper is running + return True + def main(): if sys.argv[-1] == 'install': |