From 718663e841413f854c26de8cc48ec5117d366e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 26 Feb 2024 15:19:12 +0100 Subject: [PATCH] no progress meter for local curl --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 448b120..4aeebe3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -49,7 +49,7 @@ ynh_local_curl_csrf () { fi # Curl the URL for the CSRF token - data=$(curl --show-error --insecure --location --header "Host: $domain" --resolve $domain:443:127.0.0.1 "$full_page_url" --cookie-jar $cookiefile --cookie $cookiefile) + data=$(curl --no-progress-meter --show-error --insecure --location --header "Host: $domain" --resolve $domain:443:127.0.0.1 "$full_page_url" --cookie-jar $cookiefile --cookie $cookiefile) local code_line=$(echo "$data" | grep "input name=\"code\"")