Skip to content

Commit

Permalink
logstash.sysv.redhat uses exit code on status check
Browse files Browse the repository at this point in the history
Update logstash.sysv.redhat to use exit code on status check.
  • Loading branch information
igormilovanovic committed Apr 25, 2013
1 parent ffc0300 commit a2a2a6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/logstash.sysv.redhat
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ case "$1" in
status)
echo -n "$DESC"
status -p $PID_FILE
exit $?
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status|restart}" >&2
Expand Down

0 comments on commit a2a2a6e

Please sign in to comment.