summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshare/scripts/curl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/curl b/share/scripts/curl
index feaa1ba..6a9f784 100755
--- a/share/scripts/curl
+++ b/share/scripts/curl
@@ -147,7 +147,7 @@ then
CURL_OPTIONS="${CURL_OPTIONS} --https"
fi
-curl --location --progress-bar --user-agent container-tools/${VERSION} ${CURL_OPTIONS} \
+curl --fail --location --progress-bar --user-agent container-tools/${VERSION} ${CURL_OPTIONS} \
"${SERVER}/${IMAGE}" -o "${CACHE}/${IMAGE}"
echo "Unpacking ${IMAGE}"