From c941b6b797175b64566f43c97fd669a71d9a7871 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 18 Jan 2026 02:29:15 -0600 Subject: Fix unattended mode exit issue (return 0) Bug: In gather_input(), the line `[[ -n "$WIFI_SSID" ]] && info "..."` returns exit code 1 when WIFI_SSID is empty. The subsequent bare `return` inherits this exit code, causing the script to exit with set -e. Fix: Use explicit `return 0` to ensure gather_input returns success. --- custom/install-archzfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom/install-archzfs') diff --git a/custom/install-archzfs b/custom/install-archzfs index ae9e793..6b62d90 100755 --- a/custom/install-archzfs +++ b/custom/install-archzfs @@ -170,7 +170,7 @@ gather_input() { [[ -n "$RAID_LEVEL" ]] && info " RAID: $RAID_LEVEL" info " SSH: $ENABLE_SSH" [[ -n "$WIFI_SSID" ]] && info " WiFi: $WIFI_SSID" - return + return 0 fi echo "" -- cgit v1.2.3