mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Merge pull request #458 from pletisan/master
When checking status of daemon, exit with proper exit code.
This commit is contained in:
commit
9f27a560e4
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ case "$1" in
|
|||
status)
|
||||
echo -n "$DESC"
|
||||
status -p $PID_FILE
|
||||
exit $?
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|status|restart}" >&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue