From 05892276bf68d09c7af6fcee5c2b4c0e2abdf504 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Fri, 21 Apr 2023 23:54:19 -0600 Subject: [PATCH] check_curl print --- check_curl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_curl b/check_curl index d86ede5..3b35893 100755 --- a/check_curl +++ b/check_curl @@ -76,7 +76,7 @@ for value in "${values[@]}"; do done if $PRINT_ONLY; then - echo "curl --output \"$TMP_RESPONSE\" -s -w \"%{http_code}\n%{time_total}"\ $(echo "${HEADER_ARGS[@]}" | tr -s ' ') $FOLLOW_REDIRECTS $INSECURE $RESOLVE $URL" + echo "curl --output \"$TMP_RESPONSE\" -s -w \"%{http_code}\n%{time_total}\" $(echo "${HEADER_ARGS[@]}" | tr -s ' ') $FOLLOW_REDIRECTS $INSECURE $RESOLVE $URL" exit 3 fi