updated ci_bootstrap.sh

pull/2/head
Hari Sekhon 4 years ago
parent 8c8a269e62
commit 1bce61c114

@ -39,13 +39,14 @@ retry(){
echo "$*"
"$@" &&
break;
if [ $count -ge $max_tries ]; then
echo
if [ $count -ge $max_tries ]; then
echo "$count tries failed, aborting..."
exit 1
fi
echo "sleeping for $interval secs before retrying"
sleep "$interval"
echo
done
}

Loading…
Cancel
Save