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
commit9a046e9f16434b217d23fe97842377e88cb0d567 (patch)
tree6166309da62a061b087ee3849353e375ea8f9693
parent5f5f235157f181cf2d4dda649186b5a91042e2b5 (diff)
downloadrabbitmq-server-git-9a046e9f16434b217d23fe97842377e88cb0d567.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 1439f56331..eafae29d0f 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