aboutsummaryrefslogtreecommitdiffstats
path: root/lease-script.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-03-07 12:21:07 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-03-07 22:26:01 +0100
commit7912091f63ecc56e769d354973fa6fad6d793048 (patch)
treef55945075751b3c0ca9ef89b2a04e22c80d807e6 /lease-script.rsc
parente902e3fdd5cefda19d1562a126bfebe22038d904 (diff)
lease-script: make sure not to match self
Diffstat (limited to 'lease-script.rsc')
-rw-r--r--lease-script.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lease-script.rsc b/lease-script.rsc
index 346d52b..cc56a1f 100644
--- a/lease-script.rsc
+++ b/lease-script.rsc
@@ -36,7 +36,7 @@ $ScriptLock $0 false 10;
:foreach Script in=[ /system/script/find where source~("\n# provides: lease-script, ") ] do={
:local ScriptVal [ /system/script/get $Script ];
- :local Store [ $ParseKeyValueStore [ $Grep ($ScriptVal->"source") "# provides: lease-script, " ] ];
+ :local Store [ $ParseKeyValueStore [ $Grep ($ScriptVal->"source") ("\23 provides: lease-script, ") ] ];
:set ($RunOrder->($Store->"order")) ($ScriptVal->"name");
}