Unverified Commit e5c67b4d authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Display reason for network failure (#508)

parent 564c4dc9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ info "$msg" && html "$msg"

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
[ ! -s "$TMP" ] && error "Failed to download $BOOT" && exit 61