mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-15 19:01:44 +00:00
Merge pull request #2606 from ianw/no-exit-manual-dns
Don't exit with issue failure if in DNS manual mode
This commit is contained in:
commit
2d4ea720eb
5
acme.sh
5
acme.sh
@ -91,6 +91,7 @@ END_CERT="-----END CERTIFICATE-----"
|
|||||||
|
|
||||||
CONTENT_TYPE_JSON="application/jose+json"
|
CONTENT_TYPE_JSON="application/jose+json"
|
||||||
RENEW_SKIP=2
|
RENEW_SKIP=2
|
||||||
|
CODE_DNS_MANUAL=3
|
||||||
|
|
||||||
B64CONF_START="__ACME_BASE64__START_"
|
B64CONF_START="__ACME_BASE64__START_"
|
||||||
B64CONF_END="__ACME_BASE64__END_"
|
B64CONF_END="__ACME_BASE64__END_"
|
||||||
@ -4764,7 +4765,9 @@ $_authorizations_map"
|
|||||||
_err "Please add the TXT records to the domains, and re-run with --renew."
|
_err "Please add the TXT records to the domains, and re-run with --renew."
|
||||||
_on_issue_err "$_post_hook"
|
_on_issue_err "$_post_hook"
|
||||||
_clearup
|
_clearup
|
||||||
return 1
|
# 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
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user