check-health: do not exit with error

This commit is contained in:
Christian Hesse 2024-03-04 15:27:57 +01:00
parent 7fa03ab70e
commit 6712cc101d

View file

@ -75,7 +75,8 @@
} }
:if ([ :len [ /system/health/find ] ] = 0) do={ :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={ :if ([ :typeof $CheckHealthLast ] != "array") do={