ProtonVPN / linux-cli

Official ProtonVPN Linux app (CLI)
https://protonvpn.com/download-linux
GNU General Public License v3.0
335 stars 43 forks source link

Most recent release returns exit code 1 for successful commands #12

Closed skeydan closed 3 years ago

skeydan commented 3 years ago

Hi,

I've noticed that after upgrading to ProtonVPN CLI v3.7.0 (protonvpn-nm-lib v3.3.0; proton-client v0.5.1), commands like protonvpn-cli ks --on, protonvpn-cli status etc. have exit code 1, which breaks syntax like

protonvpn-cli ks --on && protonvpn-cli r && protonvpn-cli status

Is there a chance that the previous behavior will be restored? Thanks!

calexandru2018 commented 3 years ago

Hey @skeydan

Thank you for your input. It's definitely something that can be improved, we'll fix this 👍🏻

skeydan commented 3 years ago

Great!

trstickland commented 3 years ago

@calexandru2018 is this blocked by issue #14?

thanks

calexandru2018 commented 3 years ago

Hey @trstickland, not really. The fix has been deployed to beta/unstable repo. Should he coming to stable soon.

calexandru2018 commented 3 years ago

Hey all, this should be now fixed. Please close the ticket.

skeydan commented 3 years ago

It is! Thanks!