mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 13:04:30 +02:00
check-certificates: exit block on failed import
This commit is contained in:
parent
a7cd7d9500
commit
53ff8fbf97
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@
|
|||
:set ImportSuccess [ $CheckCertificatesDownloadImport $LastName ];
|
||||
}
|
||||
}
|
||||
:if ($ImportSuccess = false) do={ :error false; }
|
||||
|
||||
:if ([ :len ($CertVal->"fingerprint") ] > 0 && $CertVal->"fingerprint" != [ /certificate/get $Cert fingerprint ]) do={
|
||||
$LogPrintExit2 debug $ScriptName ("Certificate '" . $CertVal->"name" . "' was updated in place.") false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue