New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different exit code on client command failure #23

Closed
hugbug opened this Issue Jun 21, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@hugbug
Member

hugbug commented Jun 21, 2015

From forum topic Different exit code on client command failure:

currently the client returns 0 when a connection error occurs, which makes it hard to use it in scripts. The following command:

$ /usr/bin/nzbget --configfile /etc/nzbgetd.conf --quit
Unable to send request to nzbget-server at 127.0.0.1 (port 6789)

returns 0, it should not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment