From 21a7b5cc9c1780990d3e2164606f3b8fa9e326fd Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 10 Jun 2024 20:41:20 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/install.sh b/src/install.sh index 357c2ff8..b333dd9c 100644 --- a/src/install.sh +++ b/src/install.sh @@ -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 @@ -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 @@ -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