fix: Display reason for network failure (#77)
This commit is contained in:
parent
43605ca812
commit
997bb53ab4
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ info "$msg" && html "$msg"
|
||||||
|
|
||||||
fKill "progress.sh"
|
fKill "progress.sh"
|
||||||
|
|
||||||
|
(( rc == 4 )) && error "Failed to download $BOOT , network failure!" && exit 60
|
||||||
(( rc != 0 )) && error "Failed to download $BOOT , reason: $rc" && exit 60
|
(( rc != 0 )) && error "Failed to download $BOOT , reason: $rc" && exit 60
|
||||||
[ ! -s "$TMP" ] && error "Failed to download $BOOT" && exit 61
|
[ ! -s "$TMP" ] && error "Failed to download $BOOT" && exit 61
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue