From eeebfb4f09b6e424afd93d6aec1ab62ffaaaee49 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 16 Apr 2024 14:57:47 +0200 Subject: [PATCH] fix: Verify download is not empty --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index f5109e9..17db3ab 100644 --- a/src/install.sh +++ b/src/install.sh @@ -37,7 +37,7 @@ info "$MSG" && html "$MSG" fKill "progress.sh" (( rc != 0 )) && error "Failed to download $BOOT , reason: $rc" && exit 60 -[ ! -f "$TMP" ] && error "Failed to download $BOOT" && exit 61 +[ ! -s "$TMP" ] && error "Failed to download $BOOT" && exit 61 html "Download finished successfully..."