aboutsummaryrefslogtreecommitdiffstats
path: root/check-certificates
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-09-01 23:40:03 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-09-01 23:40:03 +0200
commitcabafc7853a00fe26ea309e82dd6035bd299f9b4 (patch)
treeaf614b0e1c5472125ffd5e92c268b645289e2e23 /check-certificates
parent5c7cde6227499cca1ea53891098098c7e727312c (diff)
check-certificates: better check for non-empty value
Diffstat (limited to 'check-certificates')
-rw-r--r--check-certificates2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-certificates b/check-certificates
index 5ac8a18..d8e535a 100644
--- a/check-certificates
+++ b/check-certificates
@@ -98,7 +98,7 @@ $WaitFullyConnected;
}
}
-:foreach Cert in=[ / certificate find where !revoked !scep-url expires-after<2w fingerprint~"." ] do={
+:foreach Cert in=[ / certificate find where !revoked !scep-url expires-after<2w !(fingerprint=[]) ] do={
:local CertVal [ / certificate get $Cert ];
:if ([ :len [ / certificate scep-server find where ca-cert=($CertVal->"ca") ] ] > 0) do={