summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/anonvpn.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-14 00:14:21 +0100
committerKali Kaneko <kali@leap.se>2018-02-15 16:36:51 +0100
commit96ba208a00617c462cbdd2802a3c97bc6ebb28f3 (patch)
tree0211c8d51597b6b27bd8148966591face0821875 /src/leap/bitmask/gui/anonvpn.py
parentc52b9f2356189cd09b5992886dbbda6bd7b60cd3 (diff)
[bug] remove stale pidfile
- Resolves: #9229
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()