From cdb36e8b821eddd13d804749b7eb66a44db40112 Mon Sep 17 00:00:00 2001 From: squidbear <379651+czarly@users.noreply.github.com> Date: Mon, 24 Mar 2025 09:04:23 +0100 Subject: [PATCH] fix for old curl --- multicurl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multicurl.sh b/multicurl.sh index 77c92ce5..e2b814d7 100755 --- a/multicurl.sh +++ b/multicurl.sh @@ -40,7 +40,7 @@ done output="" for url in "${urls[@]}"; do #echo "curl -s ${options[@]} $url" - output=$(eval "curl -s ${options[@]@Q} '$url' --fail-with-body") + output=$(eval "curl -s ${options[@]@Q} '$url' --fail") if [[ $? -eq 0 ]]; then if cat "$temp_file" | jq -e 'has("error")' > /dev/null 2>&1; then