Commit f3ba491a by Torkel Ödegaard

Merge pull request #2205 from raventools/bug/make-status-command-return-correct-exitcode

make status command exit with proper code
parents 98a07eff 0e73c1bf
......@@ -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