mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
check-certificates: always use parenthesis
This commit is contained in:
parent
8f03a856e1
commit
1e12c0e159
|
@ -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={
|
||||||
|
|
Loading…
Reference in a new issue