summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2009-08-13 17:34:00 +0100
committerDavid Wragg <dpw@lshift.net>2009-08-13 17:34:00 +0100
commit8c9711a7607c9b0c4d003c1d5a220594f9f7ef6b (patch)
tree6166309da62a061b087ee3849353e375ea8f9693
parent71e0a1d3fa1ce936049844e635ad0183238b82fe (diff)
downloadrabbitmq-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.
-rw-r--r--packaging/RPMS/Fedora/init.d2
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