mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-10-31 19:41:45 +00:00
fix RENEW_SKIP code
This commit is contained in:
parent
0f86651089
commit
acae0ac2a6
4
acme.sh
4
acme.sh
@ -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…
Reference in New Issue
Block a user