Commit 59dab6ea authored by neilpang's avatar neilpang
Browse files
parent c2344f37
...@@ -1856,10 +1856,11 @@ _inithttp() { ...@@ -1856,10 +1856,11 @@ _inithttp() {
_ACME_CURL="$_ACME_CURL -g " _ACME_CURL="$_ACME_CURL -g "
fi fi
#from curl 7.76: return fail on HTTP errors but keep the body # don't use --fail-with-body
if _contains "$(curl --help http 2>&1)" "--fail-with-body"; then ##from curl 7.76: return fail on HTTP errors but keep the body
_ACME_CURL="$_ACME_CURL --fail-with-body " #if _contains "$(curl --help http 2>&1)" "--fail-with-body"; then
fi # _ACME_CURL="$_ACME_CURL --fail-with-body "
#fi
fi fi
if [ -z "$_ACME_WGET" ] && _exists "wget"; then if [ -z "$_ACME_WGET" ] && _exists "wget"; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment