summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/eip/vpnprocess.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-07-14 16:24:59 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-07-15 09:12:18 -0300
commit57ac3750970777bb5b6e372e5eb00f3144098d90 (patch)
treef06ed48a24f2c3ed13a1ca9dd23c89c8cb89c971 /src/leap/bitmask/services/eip/vpnprocess.py
parent662ae7107bde734cda8d4bc08f5b647650139b61 (diff)
Support EIP in OSX
Diffstat (limited to 'src/leap/bitmask/services/eip/vpnprocess.py')
-rw-r--r--src/leap/bitmask/services/eip/vpnprocess.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/services/eip/vpnprocess.py b/src/leap/bitmask/services/eip/vpnprocess.py
index 3bda3059..1c11a337 100644
--- a/src/leap/bitmask/services/eip/vpnprocess.py
+++ b/src/leap/bitmask/services/eip/vpnprocess.py
@@ -255,6 +255,9 @@ class VPN(object):
"""
Tear the firewall down using the privileged wrapper.
"""
+ if IS_MAC:
+ # We don't support Mac so far
+ return True
BM_ROOT = force_eval(linuxvpnlauncher.LinuxVPNLauncher.BITMASK_ROOT)
exitCode = subprocess.call(["pkexec",
BM_ROOT, "firewall", "stop"])