From 55ce170842339aa4ac8734623c307c1931125e85 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 1 Feb 2016 09:39:58 +0800 Subject: [PATCH] remove unnecessary error message if the folder is not a domain remove unnecessary error message if the folder is not a domain. The error message output made the cron send mail. --- le.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/le.sh b/le.sh index f21cc52..52cb4c6 100755 --- a/le.sh +++ b/le.sh @@ -878,8 +878,8 @@ renew() { _initpath $Le_Domain if [ ! -f "$DOMAIN_CONF" ] ; then - _err "$Le_Domain is not a issued domain, skip." - return 1; + _info "$Le_Domain is not a issued domain, skip." + return 0; fi source "$DOMAIN_CONF"