lease-script: use 'print count-only'

This commit is contained in:
Christian Hesse 2018-11-09 21:28:35 +01:00
parent 7843574cd6
commit 313cc2913a

View file

@ -17,7 +17,7 @@
:delay 1s;
:foreach script in=$scripts do={
:if ([ :len [ / system script find where name=$script ] ] > 0) do={
:if ([ / system script print count-only where name=$script ] > 0) do={
:log debug ("Running script from lease-script: " . $script);
/ system script run $script;
}