From 4fd2d89320c9b1a5b13af4961a8c106fb3b1cd5b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 23 Jul 2026 13:56:10 +0200 Subject: [PATCH] global-functions: $ScriptInstallUpdate: drop the check for matching policies... ... as this started to produce false positives. --- global-functions.rsc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/global-functions.rsc b/global-functions.rsc index f77b96ce..9c8d88fc 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -1336,14 +1336,6 @@ :local ScriptInfo [ $ParseKeyValueStore ($ScriptVal->"comment") ]; :local SourceNew; - :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={ - $LogPrint warning $0 ("Policies differ for script '" . $ScriptVal->"name" . \ - "' and its scheduler '" . $SchedulerVal->"name" . "'!"); - } - } - :do { :if ($ScriptInfo->"ignore" = true) do={ $LogPrint debug $0 ("Ignoring script '" . $ScriptVal->"name" . "', as requested.");