Commit 90457f64 authored by Fabio Montefuscolo's avatar Fabio Montefuscolo
Browse files

fix syntax

parent 4e5418b3
Pipeline #3144 passed with stage
in 24 seconds
......@@ -80,7 +80,7 @@ then
elif [ "$first_time" = "1" ];
then
tries = 30
while [ $tries -gt 0 ] && ! echo 1 > /dev/tcp/$leader/3306;
while [ "$tries" != "0" ] && ! echo 1 > /dev/tcp/$leader/3306;
do
tries=$(( $tries - 1 ))
echo "Waiting for the leader $leader, I will try more $tries times"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment