diff options
author | David Wragg <dpw@lshift.net> | 2009-08-13 17:34:00 +0100 |
---|---|---|
committer | David Wragg <dpw@lshift.net> | 2009-08-13 17:34:00 +0100 |
commit | 8c9711a7607c9b0c4d003c1d5a220594f9f7ef6b (patch) | |
tree | 6166309da62a061b087ee3849353e375ea8f9693 /packaging/RPMS | |
parent | 71e0a1d3fa1ce936049844e635ad0183238b82fe (diff) | |
download | rabbitmq-server-8c9711a7607c9b0c4d003c1d5a220594f9f7ef6b.tar.gz |
Change RETVAL when showing usage message to 1
While the Fedora skeleton init script uses 2, it doesn't seem to be
universal across their init scripts, and the specs aren't clear on
what the value should be. So follow the Debian init script in this
case.
Diffstat (limited to 'packaging/RPMS')
-rw-r--r-- | packaging/RPMS/Fedora/init.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/RPMS/Fedora/init.d b/packaging/RPMS/Fedora/init.d index 1439f563..eafae29d 100644 --- a/packaging/RPMS/Fedora/init.d +++ b/packaging/RPMS/Fedora/init.d @@ -122,7 +122,7 @@ case "$1" in ;; *) echo "Usage: $0 {start|stop|status|rotate-logs|restart|condrestart|try-restart|reload|force-reload}" >&2 - RETVAL=2 + RETVAL=1 ;; esac |