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:
@ -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={
|
||||||
|
Reference in New Issue
Block a user