check-certificates: print warning on $CertRenewUrl just once

This commit is contained in:
Christian Hesse 2026-01-19 16:37:20 +01:00
parent f1333087d2
commit 72660f21a5

View file

@ -25,6 +25,7 @@
:global EscapeForRegEx; :global EscapeForRegEx;
:global IfThenElse; :global IfThenElse;
:global LogPrint; :global LogPrint;
:global LogPrintOnce;
:global ParseKeyValueStore; :global ParseKeyValueStore;
:global ScriptLock; :global ScriptLock;
:global SendNotification2; :global SendNotification2;
@ -164,7 +165,7 @@
:do { :do {
:if ([ :len $CertRenewUrl ] = 0) do={ :if ([ :len $CertRenewUrl ] = 0) do={
$LogPrint info $ScriptName ("No CertRenewUrl given."); $LogPrintOnce info $ScriptName ("No CertRenewUrl given.");
:error false; :error false;
} }
$LogPrint info $ScriptName ("Attempting to renew certificate '" . ($CertVal->"name") . "'."); $LogPrint info $ScriptName ("Attempting to renew certificate '" . ($CertVal->"name") . "'.");