From 1237a7ca0e8e25ac9a49e2cb3bd8c296236dfcfa Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 20 Jul 2017 23:16:48 +0200 Subject: [bug] check if the helpers are installed before testing the firewall In case of the helpers not installed it was crashing the VPNService. --- src/leap/bitmask/vpn/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/leap/bitmask') diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py index e9b5add8..cfa00229 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): -- cgit v1.2.3