Private GIT

Skip to content
Snippets Groups Projects
Commit 85458867 authored by r3dlin3's avatar r3dlin3 Committed by Dustyn Gibson
Browse files

status command should not always return 0 and reflect the actual status based...

status command should not always return 0 and reflect the actual status based on LSB exit status code
parent eb4c099c
Branches
Tags
No related merge requests found
...@@ -148,7 +148,7 @@ case "$1" in ...@@ -148,7 +148,7 @@ case "$1" in
;; ;;
status) status)
status_of_proc -p "$PID_FILE" "$DAEMON" "$DESC" status_of_proc -p "$PID_FILE" "$DAEMON" "$DESC"
exit 0 exit $?
;; ;;
*) *)
N=/etc/init.d/$NAME N=/etc/init.d/$NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment