Browse Source

fix https://github.com/Neilpang/acme.sh/issues/244

Update renew days for renew/renewall
pull/252/head
neil 8 years ago
parent
commit
1e6b68f5d1
  1. 4
      acme.sh

4
acme.sh

@ -1879,6 +1879,10 @@ renew() {
return 0; return 0;
fi fi
if [ "$Le_RenewalDays" ] ; then
_savedomainconf Le_RenewalDays "$Le_RenewalDays"
fi
. "$DOMAIN_CONF" . "$DOMAIN_CONF"
if [ -z "$FORCE" ] && [ "$Le_NextRenewTime" ] && [ "$(date -u "+%s" )" -lt "$Le_NextRenewTime" ] ; then if [ -z "$FORCE" ] && [ "$Le_NextRenewTime" ] && [ "$(date -u "+%s" )" -lt "$Le_NextRenewTime" ] ; then
_info "Skip, Next renewal time is: $Le_NextRenewTimeStr" _info "Skip, Next renewal time is: $Le_NextRenewTimeStr"

Loading…
Cancel
Save