diff options
author | Christian Hesse <mail@eworm.de> | 2023-03-07 12:21:07 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-03-07 22:26:01 +0100 |
commit | 7912091f63ecc56e769d354973fa6fad6d793048 (patch) | |
tree | f55945075751b3c0ca9ef89b2a04e22c80d807e6 /lease-script.rsc | |
parent | e902e3fdd5cefda19d1562a126bfebe22038d904 (diff) |
lease-script: make sure not to match self
Diffstat (limited to 'lease-script.rsc')
-rw-r--r-- | lease-script.rsc | 2 |
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"); } |