fix: Verify download is not empty

This commit is contained in:
Kroese 2024-04-16 14:57:47 +02:00 committed by GitHub
parent 6f6e3e6625
commit eeebfb4f09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ info "$MSG" && html "$MSG"
fKill "progress.sh" fKill "progress.sh"
(( rc != 0 )) && error "Failed to download $BOOT , reason: $rc" && exit 60 (( 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..." html "Download finished successfully..."