Merge "Give a more specific error message when giving up in git_remote_update"
This commit is contained in:
@@ -184,6 +184,7 @@ function git_remote_update {
|
||||
COUNT=$(($COUNT + 1))
|
||||
echo "git remote update failed."
|
||||
if [ $COUNT -eq $MAX_ATTEMPTS ]; then
|
||||
echo "Max attempts reached for git remote update; giving up."
|
||||
exit 1
|
||||
fi
|
||||
SLEEP_TIME=$((30 + $RANDOM % 60))
|
||||
|
||||
Reference in New Issue
Block a user