From a2cb8daaee40872821d91a6fe9107196c3cfe36f Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Sat, 20 Dec 2025 04:10:29 +0200 Subject: [PATCH] Fix not to hide download errors --- webmin-setup-repo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webmin-setup-repo.sh b/webmin-setup-repo.sh index 95ce810e0..024033023 100644 --- a/webmin-setup-repo.sh +++ b/webmin-setup-repo.sh @@ -34,7 +34,7 @@ repo_auth_pass="" repo_mode="stable" download_curl="/usr/bin/curl" -download="$download_curl -f -s -L -O" +download="$download_curl -q -f -sS -L -O" force_setup=0 # Colors @@ -411,7 +411,7 @@ download_key() { rm -f "/tmp/$key" download_out=$($download "$repo_key_server/$key" 2>&1) if [ $? -ne 0 ]; then - post_status 1 "$(echo "$download_out" | tr '\n' ' ')" + post_status 1 "$(printf '%s : %s' "$repo_key_server/$key" "$download_out" | tr '\n' ' ')" fi done