This commit is contained in:
neil 2015-12-29 21:37:16 +08:00
parent e2e275f24e
commit ebb4363394
1 changed files with 1 additions and 1 deletions

2
le.sh
View File

@ -254,7 +254,7 @@ issue() {
DOMAIN_CONF=$WORKING_DIR/$Le_Domain/$Le_Domain.conf
if [ -f "$DOMAIN_CONF" ] ; then
source "$DOMAIN_CONF"
if [ -z "$FORCE" ] && [ "$(date -u "+%s" )" -lt "$Le_NextRenewTime" ] ; then
if [ -z "$FORCE" ] && [ "$Le_NextRenewTime" ] && [ "$(date -u "+%s" )" -lt "$Le_NextRenewTime" ] ; then
_info "Skip, Next renwal time is: $Le_NextRenewTimeStr"
return 2
fi