mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
fix format
This commit is contained in:
parent
59dab6eac7
commit
3cf8f78745
10
acme.sh
10
acme.sh
@ -1856,11 +1856,11 @@ _inithttp() {
|
|||||||
_ACME_CURL="$_ACME_CURL -g "
|
_ACME_CURL="$_ACME_CURL -g "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# don't use --fail-with-body
|
#don't use --fail-with-body
|
||||||
##from curl 7.76: return fail on HTTP errors but keep the body
|
##from curl 7.76: return fail on HTTP errors but keep the body
|
||||||
#if _contains "$(curl --help http 2>&1)" "--fail-with-body"; then
|
#if _contains "$(curl --help http 2>&1)" "--fail-with-body"; then
|
||||||
# _ACME_CURL="$_ACME_CURL --fail-with-body "
|
# _ACME_CURL="$_ACME_CURL --fail-with-body "
|
||||||
#fi
|
#fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$_ACME_WGET" ] && _exists "wget"; then
|
if [ -z "$_ACME_WGET" ] && _exists "wget"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user