diff --git a/functions.sh b/functions.sh index 259ca12d..f28fd364 100644 --- a/functions.sh +++ b/functions.sh @@ -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))