1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

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;
}