diff --git a/start-mongodb.sh b/start-mongodb.sh index 000ce66..260ec31 100644 --- a/start-mongodb.sh +++ b/start-mongodb.sh @@ -13,7 +13,7 @@ wait_for_mongodb () { sleep 1 TIMER=0 - until docker exec --tty mongodb $MONGO_CLIENT --port $MONGODB_PORT --eval "db.serverStatus()" # &> /dev/null + until docker exec --tty mongodb $MONGO_CLIENT --port $MONGODB_PORT --eval "db.serverStatus()" &> /dev/null do sleep 1 echo "."