Browse Source

ensure `curl --help` backward compatible

pull/4448/head
PMExtra 2 years ago
parent
commit
a5b04a0328
  1. 2
      acme.sh

2
acme.sh

@ -1852,7 +1852,7 @@ _inithttp() {
_ACME_CURL="$_ACME_CURL --cacert $CA_BUNDLE "
fi
if _contains "$(curl --help curl 2>&1)" "--globoff"; then
if _contains "$(curl --help 2>&1)" "--globoff" || _contains "$(curl --help curl 2>&1)" "--globoff"; then
_ACME_CURL="$_ACME_CURL -g "
fi

Loading…
Cancel
Save