diff options
author | Parménides GV <parmegv@sdf.org> | 2015-06-05 11:08:16 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2015-06-05 11:08:16 +0200 |
commit | d8afaba3f1ec9f12d9206c511bccd61da308638c (patch) | |
tree | fa391b58e6285f1c8b8ebb37bac79c0a024d3ee5 | |
parent | 10dd29e09e48ae8c1aab8e38cfcede1d49e190ec (diff) |
bug regression: polkit agent is not automatically launched #6652
Polkit was being launched and detected correctly, but Bitmask didn't
propagate this result to upper layers, so mainwindow thought the
platform wasn't initialized and then quitted without explanation.
Tested on debian testing, on June 5th 2015, using i3 window manager.
- Resolves: #6652
-rw-r--r-- | src/leap/bitmask/platform_init/initializers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/bitmask/platform_init/initializers.py b/src/leap/bitmask/platform_init/initializers.py index 086927dd..be8a7ab9 100644 --- a/src/leap/bitmask/platform_init/initializers.py +++ b/src/leap/bitmask/platform_init/initializers.py @@ -202,6 +202,7 @@ def check_polkit(): try: LinuxPolicyChecker.maybe_pkexec() + return True except Exception: logger.error("No polkit agent running.") |