aboutsummaryrefslogtreecommitdiffstats
path: root/check-health.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'check-health.rsc')
-rw-r--r--check-health.rsc6
1 files changed, 3 insertions, 3 deletions
diff --git a/check-health.rsc b/check-health.rsc
index 4cb9940..760636d 100644
--- a/check-health.rsc
+++ b/check-health.rsc
@@ -92,16 +92,16 @@
:onerror Err {
/system/script/run $Plugin;
} do={
- $LogPrint error $ScriptName ("Plugin '" . $ScriptVal->"name" . "' failed to run: " . $Err);
+ $LogPrint error $ScriptName ("Plugin '" . $PluginVal->"name" . "' failed to run: " . $Err);
}
} else={
- $LogPrint error $ScriptName ("Plugin '" . $ScriptVal->"name" . "' failed syntax validation, skipping.");
+ $LogPrint error $ScriptName ("Plugin '" . $PluginVal->"name" . "' failed syntax validation, skipping.");
}
}
:foreach PluginName,Discard in=$CheckHealthPlugins do={
($CheckHealthPlugins->$PluginName) \
- ("\$CheckHealthPlugins->\"" . $PluginName . "\"");
+ ("\$CheckHealthPlugins->\"" . $PluginName . "\"") $ScriptName;
}
:set CheckHealthPlugins;