1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

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={
$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={