From 49147c83ca2a52666e2c98762005dfb403e3d149 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 13 Jul 2022 11:33:38 +0200 Subject: lease-script: update initialization of empty array Having the parenthesis here is important for valid syntax! --- lease-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lease-script b/lease-script index fa03e11..cc1b6e5 100644 --- a/lease-script +++ b/lease-script @@ -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 ]; -- cgit v1.2.3-70-g09d2