mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
lease-script: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ $ScriptLock $0 false 10;
|
||||
$LogPrintExit2 debug $0 ("More invocations are waiting, exiting early.") true;
|
||||
}
|
||||
|
||||
:local RunOrder [ :toarray "" ];
|
||||
:local RunOrder ({});
|
||||
|
||||
:foreach Script in=[ /system/script/find where source~("\n# provides: lease-script, ") ] do={
|
||||
:local Name [ /system/script/get $Script name ];
|
||||
|
||||
Reference in New Issue
Block a user