ProtonVPN / protonvpn-cli

Legacy protonvpn-cli: ProtonVPN Command-Line Tool for Linux and macOS. This has been superseded by https://github.com/ProtonVPN/protonvpn-cli-ng
Other
602 stars 96 forks source link

Fix "is openvpn running" check on systems running NetworkManager VPN #192

Open mrtnmch opened 5 years ago

mrtnmch commented 5 years ago

On some systems, there's [nm-openvpn-auth] process running even when no OpenVPN is connected. The present test for openvpn matches such a process and fails to connect. Adding -x fixes the problem as it matches only "openvpn" processes (exactly).

xilopaint commented 5 years ago

It looks fine. Could you merge this, @kaplun?