From ec2f976be06248aea4114572b45b29d5348b56a3 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 9 Nov 2018 21:38:56 +0100 Subject: global-functions: use 'print count-only' --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions b/global-functions index 5f6cf66..5f38150 100644 --- a/global-functions +++ b/global-functions @@ -39,7 +39,7 @@ :global "script-updates-baseurl"; :global "script-updates-urlsuffix"; - :if ([ :len [ / certificate find where fingerprint=$fprint ] ] = 0) do={ + :if ([ / certificate print count-only where fingerprint=$fprint ] = 0) do={ :log info ("Certificate with fingerprint " . $fprint . \ " not available, downloading and importing."); :do { -- cgit v1.2.3-54-g00ecf