mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
check-health: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
parent
3006e96598
commit
eae9a7b956
1 changed files with 2 additions and 2 deletions
|
@ -35,10 +35,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ([ :typeof $CheckHealthLast ] != "array") do={
|
:if ([ :typeof $CheckHealthLast ] != "array") do={
|
||||||
:set CheckHealthLast [ :toarray "" ];
|
:set CheckHealthLast ({});
|
||||||
}
|
}
|
||||||
:if ([ :typeof $CheckHealthTemperatureNotified ] != "array") do={
|
:if ([ :typeof $CheckHealthTemperatureNotified ] != "array") do={
|
||||||
:set CheckHealthTemperatureNotified [ :toarray "" ];
|
:set CheckHealthTemperatureNotified ({});
|
||||||
}
|
}
|
||||||
|
|
||||||
$ScriptLock $0;
|
$ScriptLock $0;
|
||||||
|
|
Loading…
Reference in a new issue