diff options
author | Christian Hesse <mail@eworm.de> | 2019-08-29 09:13:11 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-08-29 09:13:11 +0200 |
commit | 1ee3213e028e83564a0bae29294be41a9c3a54b2 (patch) | |
tree | fa0e116e7f160a6106776924e101d33b96e44614 /script-updates | |
parent | 2d1a07dd0f9e30d8993e4ecafd937772003553d9 (diff) |
script-updates: better regex matching
Diffstat (limited to 'script-updates')
-rw-r--r-- | script-updates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-updates b/script-updates index be9d373..d6d05f5 100644 --- a/script-updates +++ b/script-updates @@ -26,7 +26,7 @@ / file remove $ScriptFile; } - :foreach Scheduler in=[ / system scheduler find where on-event=($ScriptVal->"name") ] do={ + :foreach Scheduler in=[ / system scheduler find where on-event~("\\b" . $ScriptVal->"name" . "\\b") ] do={ :local SchedulerVal [ / system scheduler get $Scheduler ]; :if ($ScriptVal->"policy" != $SchedulerVal->"policy") do={ :log warning ("Policies differ for script " . $ScriptVal->"name" . \ |