Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Different exit code on client command failure #23

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

Different exit code on client command failure #23

hugbug opened this issue Jun 21, 2015 · 0 comments
Milestone

Comments

@hugbug
Copy link
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant