summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/vpn/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py
index e9b5add..cfa0022 100644
--- a/src/leap/bitmask/vpn/service.py
+++ b/src/leap/bitmask/vpn/service.py
@@ -65,7 +65,7 @@ class VPNService(HookableService):
else:
self._basepath = basepath
- if self._firewall.is_up():
+ if helpers.check() and self._firewall.is_up():
self._firewall.stop()
def startService(self):