From a56a43342de942a184226545f353c552f2cfe951 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sun, 25 Jan 2026 13:39:13 +0000 Subject: [PATCH] fix(quickget): exit on curl failure in web_get Add exit 1 after curl failure handling in web_get - Exit immediately when a download via curl fails - Prevent continuing to build invalid VM configs after failed download Fixes #1625 --- quickget | 1 + 1 file changed, 1 insertion(+) diff --git a/quickget b/quickget index a0dd1dd..cc0f5ea 100755 --- a/quickget +++ b/quickget @@ -1618,6 +1618,7 @@ function web_get() { if ! curl --disable --progress-bar --location --output "${DIR}/${FILE}" --continue-at - --user-agent "${USER_AGENT}" "${HEADERS[@]}" -- "${URL}"; then echo "ERROR! Failed to download ${URL} with curl." rm -f "${DIR}/${FILE}" + exit 1 fi }