From 1e6b68f5d187fa3d64c889d04a77ee1c79726282 Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 2 Aug 2016 21:47:35 +0800 Subject: [PATCH] fix https://github.com/Neilpang/acme.sh/issues/244 Update renew days for renew/renewall --- acme.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/acme.sh b/acme.sh index c0cdbd54..7a9cd91c 100755 --- a/acme.sh +++ b/acme.sh @@ -1879,6 +1879,10 @@ renew() { return 0; fi + if [ "$Le_RenewalDays" ] ; then + _savedomainconf Le_RenewalDays "$Le_RenewalDays" + fi + . "$DOMAIN_CONF" if [ -z "$FORCE" ] && [ "$Le_NextRenewTime" ] && [ "$(date -u "+%s" )" -lt "$Le_NextRenewTime" ] ; then _info "Skip, Next renewal time is: $Le_NextRenewTimeStr"