summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/anonvpn.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/gui/anonvpn.py')
-rw-r--r--src/leap/bitmask/gui/anonvpn.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/anonvpn.py b/src/leap/bitmask/gui/anonvpn.py
index 7912085e..5b3443d8 100644
--- a/src/leap/bitmask/gui/anonvpn.py
+++ b/src/leap/bitmask/gui/anonvpn.py
@@ -32,6 +32,7 @@ from multiprocessing import Process
from leap.bitmask.core.launcher import run_bitmaskd, pid
from leap.bitmask.gui.housekeeping import cleanup, terminate, reset_authtoken
+from leap.bitmask.gui.housekeeping import check_stale_pidfile
from leap.bitmask.gui.housekeeping import NoAuthTokenError
from leap.common.config import get_path_prefix
@@ -59,6 +60,7 @@ def launch_gui():
def start_app():
global bitmaskd
+ check_stale_pidfile()
bitmaskd = Process(target=run_bitmaskd)
bitmaskd.start()
reset_authtoken()