fix: Debug message for downloading URL

This commit is contained in:
Kroese 2025-09-15 00:34:52 +02:00 committed by GitHub
parent f51aa41687
commit 1f63447090
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -598,7 +598,7 @@ downloadFile() {
fi fi
info "$msg..." info "$msg..."
[[ "$DEBUG" == [Yy1]* ]] && echo "Downloading $url" [[ "$DEBUG" == [Yy1]* ]] && echo "Downloading: $url"
{ wget "$url" -O "$iso" -q --timeout=30 --no-http-keep-alive --user-agent "$agent" --show-progress "$progress"; rc=$?; } || : { wget "$url" -O "$iso" -q --timeout=30 --no-http-keep-alive --user-agent "$agent" --show-progress "$progress"; rc=$?; } || :