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:
@ -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={
|
||||
|
Reference in New Issue
Block a user