summaryrefslogtreecommitdiff
path: root/rpm/init.d-mongod
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/init.d-mongod')
-rw-r--r--rpm/init.d-mongod2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod
index 2c634f6aa0c..12068c802b3 100644
--- a/rpm/init.d-mongod
+++ b/rpm/init.d-mongod
@@ -37,7 +37,7 @@ stop()
echo -n $"Stopping mongod: "
killproc -p /var/lib/mongo/mongod.lock -t30 -TERM /usr/bin/mongod
RETVAL=$?
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/mongod &7 success
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/mongod && success
}
restart () {