fix RENEW_SKIP code

pull/2248/head
neilpang 6 years ago
parent 0f86651089
commit acae0ac2a6

@ -4622,7 +4622,7 @@ renew() {
_info "$(__green "Renew: '$Le_Domain'")" _info "$(__green "Renew: '$Le_Domain'")"
if [ ! -f "$DOMAIN_CONF" ]; then if [ ! -f "$DOMAIN_CONF" ]; then
_info "'$Le_Domain' is not a issued domain, skip." _info "'$Le_Domain' is not a issued domain, skip."
return 0 return $RENEW_SKIP
fi fi
if [ "$Le_RenewalDays" ]; then if [ "$Le_RenewalDays" ]; then
@ -4676,7 +4676,7 @@ renew() {
if [ "$IN_CRON" = "1" ] && [ -z "$Le_CertCreateTime" ]; then if [ "$IN_CRON" = "1" ] && [ -z "$Le_CertCreateTime" ]; then
_info "Skip invalid cert for: $Le_Domain" _info "Skip invalid cert for: $Le_Domain"
return 0 return $RENEW_SKIP
fi fi
IS_RENEW="1" IS_RENEW="1"

Loading…
Cancel
Save