Browse Source

If debug mode, don't pass --silent to curl

This also fixes the issue of curl getting the -L option passed to it twice.
pull/158/head
David Mcanulty 9 years ago
parent
commit
20a937e443
  1. 2
      acme.sh

2
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"

Loading…
Cancel
Save