aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:33:38 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:33:38 +0200
commit49147c83ca2a52666e2c98762005dfb403e3d149 (patch)
tree5eeb28cdafeef7d9eddd9d272d233fcefd26e793
parent9a89cd54077dbb77c1130396d6218ec8fa735594 (diff)
lease-script: update initialization of empty array
Having the parenthesis here is important for valid syntax!
-rw-r--r--lease-script2
1 files changed, 1 insertions, 1 deletions
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 ];