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

make status command exit with proper code
This commit is contained in:
Torkel Ödegaard
2015-06-22 18:43:35 +02:00
+1
View File
@@ -138,6 +138,7 @@ case "$1" in
;;
status)
status -p $PID_FILE $NAME
exit $?
;;
restart|force-reload)
if [ -f "$PID_FILE" ]; then