check initAPI error

This commit is contained in:
neil 2021-06-01 21:23:00 +08:00 committed by Bernard Spil
parent f0b9532f07
commit bcd2dab4a3

View File

@ -4134,7 +4134,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)