summaryrefslogtreecommitdiff
path: root/src/leap/services/eip/vpnlaunchers.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-06-11 16:05:28 -0300
committerTomás Touceda <chiiph@leap.se>2013-06-11 16:05:28 -0300
commit51f19022d304d527faff84bf57edb0dec45216fe (patch)
tree78d729fb229b78e78409156ff3566ffee2524c65 /src/leap/services/eip/vpnlaunchers.py
parentb72785e419c2fae2e6c51b9a865692681f03ab67 (diff)
parent065f5ab9b85fdb2fb1787b03bff925c7775427f6 (diff)
Merge remote-tracking branch 'kali/bug/openvpn-process_rev4' into develop
Diffstat (limited to 'src/leap/services/eip/vpnlaunchers.py')
-rw-r--r--src/leap/services/eip/vpnlaunchers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/services/eip/vpnlaunchers.py b/src/leap/services/eip/vpnlaunchers.py
index 0691e121..952d3618 100644
--- a/src/leap/services/eip/vpnlaunchers.py
+++ b/src/leap/services/eip/vpnlaunchers.py
@@ -132,6 +132,7 @@ def _is_auth_agent_running():
"""
polkit_gnome = 'ps aux | grep polkit-[g]nome-authentication-agent-1'
polkit_kde = 'ps aux | grep polkit-[k]de-authentication-agent-1'
+
return (len(commands.getoutput(polkit_gnome)) > 0 or
len(commands.getoutput(polkit_kde)) > 0)