check initAPI error

This commit is contained in:
neil 2021-06-01 21:23:00 +08:00
parent 9edda556de
commit 5f9daa6640
1 changed files with 3 additions and 1 deletions

View File

@ -4132,7 +4132,9 @@ issue() {
_debug "Using ACME_DIRECTORY: $ACME_DIRECTORY"
_initAPI
if ! _initAPI; then
return 1
fi
if [ -f "$DOMAIN_CONF" ]; then
Le_NextRenewTime=$(_readdomainconf Le_NextRenewTime)