fix: Verify download is not empty
This commit is contained in:
parent
6f6e3e6625
commit
eeebfb4f09
1 changed files with 1 additions and 1 deletions
|
|
@ -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..."
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue