Update acme.sh

This commit is contained in:
neil 2022-07-07 20:01:43 +08:00 committed by GitHub
parent be7840c827
commit 9c757bbe6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

11
acme.sh
View File

@ -91,6 +91,7 @@ END_CERT="-----END CERTIFICATE-----"
CONTENT_TYPE_JSON="application/jose+json"
RENEW_SKIP=2
CODE_DNS_MANUAL=3
B64CONF_START="__ACME_BASE64__START_"
B64CONF_END="__ACME_BASE64__END_"
@ -4764,13 +4765,9 @@ $_authorizations_map"
_err "Please add the TXT records to the domains, and re-run with --renew."
_on_issue_err "$_post_hook"
_clearup
if [ -n "$FORCE_DNS_MANUAL" ]; then
# If asked to be in manual DNS mode, flag this exit with a separate
# error so it can be distinguished from other failures.
return 3
else
return 1
fi
# If asked to be in manual DNS mode, flag this exit with a separate
# error so it can be distinguished from other failures.
return $CODE_DNS_MANUAL
fi
fi