diff options
-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" . \ |