From 7206ccebf5b2ba8b1f51f3e380d73e1e278a26c9 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 75f723e1..5980c02d 100644 --- a/bundle/src/assembly/resources/fed/ns3/ns3_installer.sh +++ b/bundle/src/assembly/resources/fed/ns3/ns3_installer.sh @@ -274,10 +274,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".";