aboutsummaryrefslogtreecommitdiffstats
path: root/check-certificates.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'check-certificates.rsc')
-rw-r--r--check-certificates.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-certificates.rsc b/check-certificates.rsc
index bc6f43a..45e18e4 100644
--- a/check-certificates.rsc
+++ b/check-certificates.rsc
@@ -146,7 +146,7 @@ $WaitFullyConnected;
}
}
- :if ($CertVal->"fingerprint" != [ /certificate/get $Cert fingerprint ]) do={
+ :if ([ :len ($CertVal->"fingerprint") ] > 0 && $CertVal->"fingerprint" != [ /certificate/get $Cert fingerprint ]) do={
$LogPrintExit2 debug $0 ("Certificate '" . $CertVal->"name" . "' was updated in place.") false;
:set CertVal [ /certificate/get $Cert ];
} else={