Commit 0e73c1bf by Phil Dier

make status command exit with proper code

parent 98a07eff
......@@ -138,6 +138,7 @@ case "$1" in
;;
status)
status -p $PID_FILE $NAME
exit $?
;;
restart|force-reload)
if [ -f "$PID_FILE" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment