Update install.sh
This commit is contained in:
parent
3e2246b800
commit
92cc2dcebf
1 changed files with 5 additions and 4 deletions
|
@ -45,10 +45,11 @@ info "$msg..." && html "$msg..."
|
||||||
|
|
||||||
fKill "progress.sh"
|
fKill "progress.sh"
|
||||||
|
|
||||||
(( rc == 4 )) && error "Failed to download $BOOT , network failure!" && exit 60
|
msg="Failed to download $BOOT"
|
||||||
(( rc == 8 )) && error "Failed to download $BOOT , server issued an error response!" && exit 60
|
(( rc == 4 )) && error "$msg , network failure!" && exit 60
|
||||||
(( rc != 0 )) && error "Failed to download $BOOT , reason: $rc" && exit 60
|
(( rc == 8 )) && error "$msg , server issued an error response!" && exit 60
|
||||||
[ ! -s "$TMP" ] && error "Failed to download $BOOT" && exit 61
|
(( rc != 0 )) && error "$msg , reason: $rc" && exit 60
|
||||||
|
[ ! -s "$TMP" ] && error "$msg" && exit 61
|
||||||
|
|
||||||
html "Download finished successfully..."
|
html "Download finished successfully..."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue