From 5c9b154e69421605c5396980879899c265122fe2 Mon Sep 17 00:00:00 2001 From: Georg Hoelger Date: Fri, 20 Sep 2024 17:27:37 +0200 Subject: [PATCH] fix: improve error message --- bundle/src/assembly/resources/fed/ns3/ns3_installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundle/src/assembly/resources/fed/ns3/ns3_installer.sh b/bundle/src/assembly/resources/fed/ns3/ns3_installer.sh index deee5cfa2..ab789d978 100644 --- a/bundle/src/assembly/resources/fed/ns3/ns3_installer.sh +++ b/bundle/src/assembly/resources/fed/ns3/ns3_installer.sh @@ -273,10 +273,10 @@ download() { if [ ! -f "$filename" ]; then if has wget; then - wget --no-check-certificate -q "$url" || fail "The download URL seems to have changed. File not found: "$url""; + wget --no-check-certificate -q "$url" || fail "The server is not reachable or the download URL has changed. File not found: "$url""; temporary_files="$temporary_files $filename" elif has curl; then - curl -s -O "$url" || fail "The download URL seems to have changed. File not found: "$url""; + curl -s -O "$url" || fail "The server is not reachable or the download URL has changed. File not found: "$url""; temporary_files="$temporary_files $filename" else fail "Can't download "$url".";