Browse Source

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.
Neil 9 years ago
parent
commit
55ce170842
1 changed files with 2 additions and 2 deletions
  1. 2 2
      le.sh

+ 2 - 2
le.sh

@@ -878,8 +878,8 @@ renew() {
   _initpath $Le_Domain
   _initpath $Le_Domain
 
 
   if [ ! -f "$DOMAIN_CONF" ] ; then
   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
   fi
   
   
   source "$DOMAIN_CONF"
   source "$DOMAIN_CONF"