summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/app.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-07-24 15:26:47 -0300
committerTomás Touceda <chiiph@leap.se>2014-07-24 15:26:47 -0300
commitc01e87456bc5fded14778251bbd5dfe4fc4ebbd0 (patch)
tree38e48db1889e1af3b7b60cdb43ab7786798d557a /src/leap/bitmask/app.py
parentfaadf8dc3bb1e49adc23c64d5a851b7eea0ce2ee (diff)
parentce88b52295881a3dd1bc0efec8e72b1d3a235e87 (diff)
Merge remote-tracking branch 'refs/remotes/ivan/feature/add-frontend-alive-check' into develop
Diffstat (limited to 'src/leap/bitmask/app.py')
-rw-r--r--src/leap/bitmask/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index ab49ee37..37ded92a 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -180,7 +180,8 @@ def start_app():
flags_dict = flags_to_dict()
- backend = lambda: run_backend(opts.danger, flags_dict)
+ frontend_pid = os.getpid()
+ backend = lambda: run_backend(opts.danger, flags_dict, frontend_pid)
backend_process = multiprocessing.Process(target=backend, name='Backend')
backend_process.daemon = True
backend_process.start()