Browse Source

fix rescan,log write 26.01.25:23.46

root 2 months ago
parent
commit
a834af6c2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dev/avto4certbot.sh

+ 1 - 1
dev/avto4certbot.sh

@@ -228,7 +228,7 @@ for ((xd=0; xd != ${#domains[@]}; xd++)); do
228 228
         chmod 600 $site_name.pem
229 229
         ln -sf $site_name.pem `openssl x509 -noout -hash < $site_name.pem`.0
230 230
         cd $path_ssl
231
-        echo "$(date) - $sname: update cert for  $site_name">> $log;
231
+        echo "$(date) - $sname: update cert for  $site_name">> $log_file;
232 232
     fi
233 233
   fi
234 234
 done