Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Jun 10, 2024
1 parent ea65eac commit 21a7b5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ if [ ! -s "$RDC" ]; then
fKill "progress.sh"

ERR="Failed to download $LOC"
(( rc == 3 )) && error "$ERR , cannot write file (disk full?)" && exit 60
(( rc == 4 )) && error "$ERR , network failure!" && exit 60
(( rc == 8 )) && error "$ERR , server issued an error response!" && exit 60

Expand Down Expand Up @@ -174,6 +175,7 @@ if [ ! -s "$RDC" ]; then
fKill "progress.sh"

ERR="Failed to download $LOC"
(( rc == 3 )) && error "$ERR , cannot write file (disk full?)" && exit 60
(( rc == 4 )) && error "$ERR , network failure!" && exit 60
(( rc == 8 )) && error "$ERR , server issued an error response!" && exit 60
(( rc != 0 )) && error "$ERR , reason: $rc" && exit 60
Expand Down Expand Up @@ -252,6 +254,7 @@ else

fKill "progress.sh"

(( rc == 3 )) && error "$ERR , cannot write file (disk full?)" && exit 69
(( rc == 4 )) && error "$ERR , network failure!" && exit 69
(( rc == 8 )) && error "$ERR , server issued an error response!" && exit 69
(( rc != 0 )) && error "$ERR , reason: $rc" && exit 69
Expand Down

0 comments on commit 21a7b5c

Please sign in to comment.