mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
check-health: do not exit with error
This commit is contained in:
parent
7fa03ab70e
commit
6712cc101d
1 changed files with 2 additions and 1 deletions
|
@ -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={
|
||||
|
|
Loading…
Reference in a new issue