diff options
author | kali <kali@leap.se> | 2013-06-05 05:18:39 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-06-12 03:59:18 +0900 |
commit | dbb873016042b213dd9cd84a59aec0c0a2383691 (patch) | |
tree | bd9688eaedaf9ed30f4757a517944daa7252d507 /src/leap/services/eip/vpnlaunchers.py | |
parent | e6b055fc2b054c1ab12e2554e9dbe73f47c647c0 (diff) |
use twisted processProtocol instead of QProcess to drive openvpn
Diffstat (limited to 'src/leap/services/eip/vpnlaunchers.py')
-rw-r--r-- | src/leap/services/eip/vpnlaunchers.py | 1 |
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) |