Skip to content

Commit

Permalink
Fix syntax n' things
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgodbe committed Oct 26, 2018
1 parent 209fa26 commit 62e38e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CloneStuff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ if [[ -z "$__command" ]]; then
fi

__retryCount=0
until $exit_code -eq 0 || [ $__retryCount -ge $__retries ]; do
until [[ $exit_code -eq 0 ] || [ $__retryCount -ge $__retries ]]; do
eval $__command
exit_code=$?
(__retryCount++)
__retryCount=$((__retryCount+1))
echo "Failed to execute command, retrying"
done

Expand Down

0 comments on commit 62e38e9

Please sign in to comment.