mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 07:14:13 +00:00
If debug mode, don't pass --silent to curl
This also fixes the issue of curl getting the -L option passed to it twice.
This commit is contained in:
parent
db0534ed97
commit
20a937e443
2
acme.sh
2
acme.sh
@ -754,7 +754,7 @@ _initpath() {
|
|||||||
dp="$LE_WORKING_DIR/curl.dump"
|
dp="$LE_WORKING_DIR/curl.dump"
|
||||||
CURL="curl -L --silent"
|
CURL="curl -L --silent"
|
||||||
if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ] ; then
|
if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ] ; then
|
||||||
CURL="$CURL -L --trace-ascii $dp "
|
CURL="curl -L --trace-ascii $dp "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_DEFAULT_ACCOUNT_KEY_PATH="$LE_WORKING_DIR/account.key"
|
_DEFAULT_ACCOUNT_KEY_PATH="$LE_WORKING_DIR/account.key"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user