Skip to content
Snippets Groups Projects
Unverified Commit 5970fcb5 authored by meskio's avatar meskio :tent:
Browse files

[bug] search for any openvpn process, the binary name might not match

parent d6e1d9c1
Branches
No related tags found
1 merge request!272[bug] search for any openvpn process, the binary name might not match
Pipeline #18780 passed with warnings
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment