summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2016-01-26 10:23:12 +0100
committerRuben Pollan <meskio@sindominio.net>2016-01-26 10:23:12 +0100
commitc1d2a356f254b6ef9eb59fd941077bbb66025728 (patch)
tree13eb869b53f9b16c2badb5ddaaf54edd8962c8c6
parente847bf6a59783611bf14fa7f480fabe58e0b13dd (diff)
parentfa05e417d58f1cec68a78e235989f01181f9632f (diff)
Merge branch 'patch-1' from PaixuAabuizia into develop
-rw-r--r--src/leap/bitmask/app.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index a1b7481a..982d8a13 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -223,9 +223,9 @@ def start_app():
backend_pid = None
if not backend_running:
frontend_pid = os.getpid()
- backend = lambda: run_backend(opts.danger, flags_dict, frontend_pid)
- backend_process = multiprocessing.Process(target=backend,
- name='Backend')
+ backend_process = multiprocessing.Process(target=run_backend,
+ name='Backend',
+ args=(opts.danger, flags_dict, frontend_pid))
# we don't set the 'daemon mode' since we need to start child processes
# in the backend
# backend_process.daemon = True