diff options
author | Christian Hesse <mail@eworm.de> | 2018-11-09 21:28:35 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-11-09 21:28:35 +0100 |
commit | 313cc2913a6d9ceaf5ce10e384f67c56d8a7c569 (patch) | |
tree | 2216be1e7cece383a76a5de8029cb4a2b6e32163 | |
parent | 7843574cd625babef3b7351f6be13867b8da7cac (diff) |
lease-script: use 'print count-only'
-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; } |