summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2019-07-10 20:28:09 +0200
committerKali Kaneko <kali@leap.se>2019-07-10 20:28:09 +0200
commit5b89ff7dd99eea1c6df67eaf012532dc38e24bb1 (patch)
treef88ae8c02d1bb9b4d3f1bda0c8a432406f70d801 /src/leap
parent0d7b5a9b4de45ad5da520896b1d51f570680f70b (diff)
[bug] missing bytes conversionHEADmaster
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/vpn/helpers/linux/bitmask-root2
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