Skip to content
Snippets Groups Projects
Commit adb55915 authored by Raphael's avatar Raphael
Browse files

Revert change from ps ax to pgrep, pgrep isn't on every computer

parent 2893c376
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ if [ -n "$services" ]; then
fi
# Check if Mongo is running
if ! pgrep mongod >/dev/null
if ! ps ax | grep -v grep | grep mongod >/dev/null
then
echo "Error: Mongod not started. Exiting" >&2
exit 64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment