diff --git a/run/install.sh b/run/install.sh index 4c4efbf..b41dcc1 100644 --- a/run/install.sh +++ b/run/install.sh @@ -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