Skip to content

Commit

Permalink
Fix start-slurm.sh while loop condition (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeeb authored and lesteve committed Jun 25, 2018
1 parent 774f261 commit 99d1444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/slurm/start-slurm.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

docker-compose up --build -d
while [ `./register_cluster.sh | grep "sacctmgr: error" | wc -l` -ne 0 ]
while [ `./register_cluster.sh 2>&1 | grep "sacctmgr: error" | wc -l` -ne 0 ]
do
echo "Waiting for SLURM cluster to become ready";
sleep 2
Expand Down

0 comments on commit 99d1444

Please sign in to comment.