aboutsummaryrefslogtreecommitdiffstats
path: root/lease-script
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-11-09 21:28:35 +0100
committerGravatar Christian Hesse <mail@eworm.de>2018-11-09 21:28:35 +0100
commit313cc2913a6d9ceaf5ce10e384f67c56d8a7c569 (patch)
tree2216be1e7cece383a76a5de8029cb4a2b6e32163 /lease-script
parent7843574cd625babef3b7351f6be13867b8da7cac (diff)
lease-script: use 'print count-only'
Diffstat (limited to 'lease-script')
-rw-r--r--lease-script2
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;
}