diff options
author | Kali Kaneko <kali@leap.se> | 2019-07-10 20:28:09 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2019-07-10 20:28:09 +0200 |
commit | 5b89ff7dd99eea1c6df67eaf012532dc38e24bb1 (patch) | |
tree | f88ae8c02d1bb9b4d3f1bda0c8a432406f70d801 /src/leap/bitmask | |
parent | 0d7b5a9b4de45ad5da520896b1d51f570680f70b (diff) |
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/vpn/helpers/linux/bitmask-root | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/helpers/linux/bitmask-root b/src/leap/bitmask/vpn/helpers/linux/bitmask-root index a043f30c..42a46bd5 100644 --- a/src/leap/bitmask/vpn/helpers/linux/bitmask-root +++ b/src/leap/bitmask/vpn/helpers/linux/bitmask-root @@ -448,7 +448,7 @@ def openvpn_stop(args): """ plist = get_process_list() for pid, proc in plist: - if bytes("openvpn", encoding='utf-8') in proc and LEAPOPENVPN in proc: + if bytes("openvpn", 'utf-8') in proc and bytes(LEAPOPENVPN, 'utf-8') in proc: os.kill(int(pid), signal.SIGTERM) break |