From acc7c235ca3ee730e430bbd84296605220e3b071 Mon Sep 17 00:00:00 2001 From: David Mcanulty Date: Mon, 18 Apr 2016 15:30:26 -0700 Subject: [PATCH] debug level 2 required to see curl output --- acme.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acme.sh b/acme.sh index e0b2bc87..0aa19b9b 100755 --- a/acme.sh +++ b/acme.sh @@ -492,12 +492,12 @@ _post() { if [ "$needbase64" ] ; then response="$($CURL -A "User-Agent: $USER_AGENT" -X POST --data "$body" $url | _base64)" if [[ $? -gt 0 ]] ;then - _err "Curl failed with exit code $?, trying running script in DEBUG=1 mode" + _err "Curl failed with exit code $?, trying running script in DEBUG=2 mode" fi else response="$($CURL -A "User-Agent: $USER_AGENT" -X POST --data "$body" $url)" if [[ $? -gt 0 ]] ;then - _err "Curl failed with exit code $?, trying running script in DEBUG=1 mode" + _err "Curl failed with exit code $?, trying running script in DEBUG=2 mode" fi fi else @@ -521,12 +521,12 @@ _get() { if [ "$onlyheader" ] ; then $CURL -I -A "User-Agent: $USER_AGENT" $url if [[ $? -gt 0 ]] ;then - _err "Curl failed with exit code $?, trying running script in DEBUG=1 mode" + _err "Curl failed with exit code $?, trying running script in DEBUG=2 mode" fi else $CURL -A "User-Agent: $USER_AGENT" $url if [[ $? -gt 0 ]] ;then - _err "Curl failed with exit code $?, trying running script in DEBUG=1 mode" + _err "Curl failed with exit code $?, trying running script in DEBUG=2 mode" fi fi else