aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--check-certificates4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-certificates b/check-certificates
index b0c2c60..ccc7b15 100644
--- a/check-certificates
+++ b/check-certificates
@@ -14,6 +14,7 @@
:global TimeIsSync;
:global UrlEncode;
:global WaitForFile;
+:global LogAndError;
:local FormatExpire do={
:global CharacterReplace;
@@ -21,8 +22,7 @@
}
:if ($TimeIsSync = false) do={
- :log warning "Time is not yet synchronized.";
- :error "Warning: See log for details.";
+ $LogAndError "Time is not yet synchronized.";
}
:foreach Cert in=[ / certificate find where !revoked !ca expires-after<3w ] do={