Boot image

Boot image
This commit is contained in:
Kroese
2023-04-27 21:50:42 +02:00
committed by GitHub
+3 -1
View File
@@ -13,7 +13,9 @@ else
PROGRESS="--progress=dot:giga"
fi
wget "$BOOT" -O "$TMP" -q --no-check-certificate --show-progress "$PROGRESS"
if ! wget "$BOOT" -O "$TMP" -q --no-check-certificate --show-progress "$PROGRESS" ; then
echo "Failed to download ${BOOT}" && exit 60
fi
[ ! -f "$TMP" ] && echo "Failed to download ${BOOT}" && exit 61