Skip to content

Commit

Permalink
fix: Display reason for network failure (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored May 17, 2024
1 parent 43605ca commit 997bb53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 997bb53

Please sign in to comment.