fix: skip additional servers prompt when AUTO_YES=1
The auto-yes flag was entering the add-servers loop and prompting for input. Now breaks out of the loop immediately in non-interactive mode. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -328,6 +328,7 @@ SERVERS_JSON="${CURRENT_SERVERS:-}"
|
||||
|
||||
while true; do
|
||||
echo ""
|
||||
if [ "$AUTO_YES" = "1" ]; then break; fi
|
||||
if ! ask_yes_no "Add an additional Gitea server?"; then
|
||||
break
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user