mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-08 17:14:29 +02: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…
Add table
Add a link
Reference in a new issue