From 89c22c652a4cdd2e857da2bfc8d997346cd36523 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 27 Apr 2023 21:50:13 +0200 Subject: [PATCH] Boot image --- run/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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