make status command exit with proper code

This commit is contained in:
Phil Dier 2015-06-22 11:27:37 -05:00
parent 98a07eff81
commit 0e73c1bf78

View File

@ -138,6 +138,7 @@ case "$1" in
;; ;;
status) status)
status -p $PID_FILE $NAME status -p $PID_FILE $NAME
exit $?
;; ;;
restart|force-reload) restart|force-reload)
if [ -f "$PID_FILE" ]; then if [ -f "$PID_FILE" ]; then