update the invalid argument usage message

This commit is contained in:
Sispheor 2015-06-21 10:02:06 +02:00 committed by FezVrasta
parent 060ee857e2
commit 3dc3fa25b3

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