Skip to content

Commit

Permalink
RH initscript "status" action: exit non-zero if mongod isn't there. S…
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Kreuter committed Nov 2, 2010
1 parent 959e62f commit 892a223
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpm/init.d-mongod
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ case "$1" in
;;
status)
status $mongod
RETVAL=$?
;;
*)
echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
Expand Down

0 comments on commit 892a223

Please sign in to comment.