summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/fw/firewall.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/vpn/fw/firewall.py')
-rw-r--r--src/leap/bitmask/vpn/fw/firewall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/fw/firewall.py b/src/leap/bitmask/vpn/fw/firewall.py
index 2a0300cf..1142b264 100644
--- a/src/leap/bitmask/vpn/fw/firewall.py
+++ b/src/leap/bitmask/vpn/fw/firewall.py
@@ -25,6 +25,7 @@ import subprocess
from twisted.logger import Logger
+from leap.bitmask.util import STANDALONE
from leap.bitmask.system import IS_MAC, IS_LINUX, IS_SNAP
from leap.bitmask.vpn.constants import BITMASK_ROOT_SYSTEM
from leap.bitmask.vpn.constants import BITMASK_ROOT_LOCAL
@@ -96,7 +97,7 @@ class _LinuxFirewallManager(object):
if IS_SNAP:
# snap has its own version under /snap
BITMASK_ROOT = BITMASK_ROOT_SNAP
- elif IS_STANDALONE and os.path.isfile(BITMASK_ROOT_LOCAL):
+ elif STANDALONE and os.path.isfile(BITMASK_ROOT_LOCAL):
# if this is a bundle, we pick local. bundles ask to install it there.
BITMASK_ROOT = BITMASK_ROOT_LOCAL
else: