update the invalid argument usage message

This commit is contained in:
Sispheor 2015-06-20 11:52:37 +02:00
parent 96515edc27
commit 4e5899a08d

View File

@ -60,9 +60,9 @@ case "$1" in
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
# For invalid arguments, print the usage message.
echo "Usage: $0 {start|stop|restart|status|force-reload}"
exit 2
;;
esac