From f367565b847f3c2ba4def78e61ed07035c09e289 Mon Sep 17 00:00:00 2001 From: Htylol Date: Tue, 6 Aug 2024 20:29:23 +0500 Subject: [PATCH] Added --silent for curl --- data_from_portwine/scripts/functions_helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index d9e74c7..46fd8fd 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -272,7 +272,7 @@ check_process () { export -f check_process try_check_sha256sum () { - SHA256SUM_EXT=$(curl -L "${1//.tar*/}.sha256sum" | awk '{print $1}') + SHA256SUM_EXT=$(curl -L --silent "${1//.tar*/}.sha256sum" | awk '{print $1}') if [[ ${#SHA256SUM_EXT} == 64 ]] ; then SHA256SUM_INT=$(sha256sum "$dest" | awk '{print $1}') if [[ "$SHA256SUM_EXT" == "$SHA256SUM_INT" ]] ; then