thomwolf HF staff commited on
Commit
9e8f2c9
·
1 Parent(s): f69ca67
Files changed (1) hide show
  1. start.sh +0 -1
start.sh CHANGED
@@ -34,7 +34,6 @@ if ! mongosh --eval 'rs.status()' --quiet | grep -q 'ok: 1'; then
34
  echo "Initializing replica set..."
35
  mongosh --eval 'rs.initiate({_id: "rs01", members: [{_id: 0, host: "localhost:27017"}]})' || {
36
  echo "Failed to initialize replica set"
37
- exit 1
38
  }
39
  else
40
  echo "Replica set already initialized"
 
34
  echo "Initializing replica set..."
35
  mongosh --eval 'rs.initiate({_id: "rs01", members: [{_id: 0, host: "localhost:27017"}]})' || {
36
  echo "Failed to initialize replica set"
 
37
  }
38
  else
39
  echo "Replica set already initialized"