mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-20 07:59:33 +00:00
check-certificates: print warning on $CertRenewUrl just once
This commit is contained in:
parent
f1333087d2
commit
72660f21a5
1 changed files with 2 additions and 1 deletions
|
|
@ -25,6 +25,7 @@
|
|||
:global EscapeForRegEx;
|
||||
:global IfThenElse;
|
||||
:global LogPrint;
|
||||
:global LogPrintOnce;
|
||||
:global ParseKeyValueStore;
|
||||
:global ScriptLock;
|
||||
:global SendNotification2;
|
||||
|
|
@ -164,7 +165,7 @@
|
|||
|
||||
:do {
|
||||
:if ([ :len $CertRenewUrl ] = 0) do={
|
||||
$LogPrint info $ScriptName ("No CertRenewUrl given.");
|
||||
$LogPrintOnce info $ScriptName ("No CertRenewUrl given.");
|
||||
:error false;
|
||||
}
|
||||
$LogPrint info $ScriptName ("Attempting to renew certificate '" . ($CertVal->"name") . "'.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue