The upgrade path in handle_rerun called load_config_file a second time (already called by detect_existing_install). On the second pass, every variable is already set, so [ -z "$VAR" ] && VAR="$value" returns exit code 1 (test fails, && short-circuits). With set -e, the non-zero exit from the case clause kills the script silently after printing "[INFO] Upgrading installation..." — no error, no further output. Removed the redundant load_config_file and load_env_overrides calls. Both were already executed in main() before handle_rerun is reached. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
47 KiB
47 KiB