aboutsummaryrefslogtreecommitdiffstats
path: root/check-health.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-04 15:27:57 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 15:27:15 +0100
commit6712cc101d57fbe47420c562ea82d36b07a5ad9c (patch)
tree56cfd27374fcb8980f4f8df3d4a39fc45662373d /check-health.rsc
parent7fa03ab70e4e711dfb3ceeefa37639bf6676e27c (diff)
check-health: do not exit with error
Diffstat (limited to 'check-health.rsc')
-rw-r--r--check-health.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/check-health.rsc b/check-health.rsc
index b819665..9d7c68e 100644
--- a/check-health.rsc
+++ b/check-health.rsc
@@ -75,7 +75,8 @@
}
:if ([ :len [ /system/health/find ] ] = 0) do={
- $LogPrintExit2 debug $ScriptName ("Your device does not provide any health values.") true;
+ $LogPrintExit2 debug $ScriptName ("Your device does not provide any health values.") false;
+ :return true;
}
:if ([ :typeof $CheckHealthLast ] != "array") do={