Commit acae0ac2 authored by neilpang's avatar neilpang
Browse files

fix RENEW_SKIP code

parent 0f866510
...@@ -4622,7 +4622,7 @@ renew() { ...@@ -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() { ...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment