Merge pull request #458 from pletisan/master

When checking status of daemon, exit with proper exit code.
This commit is contained in:
Jordan Sissel 2013-05-28 23:42:37 -07:00
commit 9f27a560e4

View file

@ -146,6 +146,7 @@ case "$1" in
status)
echo -n "$DESC"
status -p $PID_FILE
exit $?
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status|restart}" >&2