From 313cc2913a6d9ceaf5ce10e384f67c56d8a7c569 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 9 Nov 2018 21:28:35 +0100 Subject: lease-script: use 'print count-only' --- lease-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lease-script b/lease-script index ac30f5e..bb3a692 100644 --- a/lease-script +++ b/lease-script @@ -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; } -- cgit v1.2.3-70-g09d2