1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

check-certificates: always use parenthesis

This commit is contained in:
Christian Hesse
2020-04-24 13:49:50 +02:00
parent 8f03a856e1
commit 1e12c0e159

View File

@ -24,7 +24,7 @@
} }
:if ($TimeIsSync = false) do={ :if ($TimeIsSync = false) do={
$LogPrintExit warning "Time is not yet synchronized." true; $LogPrintExit warning ("Time is not yet synchronized.") true;
} }
:foreach Cert in=[ / certificate find where !revoked !ca !scep-url expires-after<3w ] do={ :foreach Cert in=[ / certificate find where !revoked !ca !scep-url expires-after<3w ] do={
@ -32,7 +32,7 @@
:do { :do {
:if ([ :len $CertRenewUrl ] = 0) do={ :if ([ :len $CertRenewUrl ] = 0) do={
$LogPrintExit warning "No CertRenewUrl given." true; $LogPrintExit warning ("No CertRenewUrl given.") true;
} }
:foreach Type in={ ".pem"; ".p12" } do={ :foreach Type in={ ".pem"; ".p12" } do={