summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/platform_init/initializers.py1
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.")