summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/vpn/helpers')
-rwxr-xr-xsrc/leap/bitmask/vpn/helpers/linux/bitmask-root3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/vpn/helpers/linux/bitmask-root b/src/leap/bitmask/vpn/helpers/linux/bitmask-root
index 6b8f3206..73b060ad 100755
--- a/src/leap/bitmask/vpn/helpers/linux/bitmask-root
+++ b/src/leap/bitmask/vpn/helpers/linux/bitmask-root
@@ -441,9 +441,8 @@ def openvpn_stop(args):
:type args: list
"""
plist = get_process_list()
- OPENVPN_BIN = get_openvpn_bin()
found_leap_openvpn = filter(
- lambda (p, s): s.startswith(OPENVPN_BIN) and LEAPOPENVPN in s,
+ lambda (p, s): "openvpn" in s and LEAPOPENVPN in s,
plist)
if found_leap_openvpn: