Skip to content

Commit

Permalink
Initialize exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgodbe committed Oct 26, 2018
1 parent c32eab7 commit 66cef15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CloneStuff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ if [[ -z "$__command" ]]; then
exit 2
fi

exit_code=1
__retryCount=0
until [ $exit_code -eq 0 ] || [ $__retryCount -ge $__retries ]; do
eval $__command
Expand Down

0 comments on commit 66cef15

Please sign in to comment.