fix RENEW_SKIP code

This commit is contained in:
neilpang 2019-05-04 10:59:00 +08:00
parent 0f86651089
commit acae0ac2a6

View File

@ -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"