global-functions: use 'print count-only'

This commit is contained in:
Christian Hesse 2018-11-09 21:38:56 +01:00
parent e486332d36
commit ec2f976be0

View file

@ -39,7 +39,7 @@
:global "script-updates-baseurl"; :global "script-updates-baseurl";
:global "script-updates-urlsuffix"; :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 . \ :log info ("Certificate with fingerprint " . $fprint . \
" not available, downloading and importing."); " not available, downloading and importing.");
:do { :do {