diff options
author | Richard Kreuter <richard@10gen.com> | 2010-10-26 16:31:32 -0400 |
---|---|---|
committer | Richard Kreuter <richard@10gen.com> | 2010-11-02 11:15:57 -0400 |
commit | 892a22331adbcc6e4bc2cba27108a87d4d475846 (patch) | |
tree | 305fb31574c8cf2c49e271fc6ac0edc43124dd97 /rpm | |
parent | 959e62f1b29dfe326065292183ffeddae392fdd8 (diff) | |
download | mongo-892a22331adbcc6e4bc2cba27108a87d4d475846.tar.gz |
RH initscript "status" action: exit non-zero if mongod isn't there. SERVER-1895
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/init.d-mongod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod index 5ee837967f8..ff73026e6e1 100644 --- a/rpm/init.d-mongod +++ b/rpm/init.d-mongod @@ -65,6 +65,7 @@ case "$1" in ;; status) status $mongod + RETVAL=$? ;; *) echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}" |