From 20a937e4435edb10f7e41842584c25e280ba6b21 Mon Sep 17 00:00:00 2001 From: David Mcanulty Date: Mon, 18 Apr 2016 15:07:05 -0700 Subject: [PATCH] If debug mode, don't pass --silent to curl This also fixes the issue of curl getting the -L option passed to it twice. --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 66ea5c9b..036dfe1e 100755 --- a/acme.sh +++ b/acme.sh @@ -754,7 +754,7 @@ _initpath() { dp="$LE_WORKING_DIR/curl.dump" CURL="curl -L --silent" if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ] ; then - CURL="$CURL -L --trace-ascii $dp " + CURL="curl -L --trace-ascii $dp " fi _DEFAULT_ACCOUNT_KEY_PATH="$LE_WORKING_DIR/account.key"