diff options
Diffstat (limited to 'lease-script')
-rw-r--r-- | lease-script | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |