Skip to content
Extraits de code Groupes Projets
Valider adb55915 rédigé par Raphael's avatar Raphael
Parcourir les fichiers

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

parent 2893c376
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter