check-health: update initialization of empty array

Having the parenthesis here is important for valid syntax!
This commit is contained in:
Christian Hesse 2022-07-13 11:31:44 +02:00
parent 3006e96598
commit eae9a7b956

View file

@ -35,10 +35,10 @@
}
:if ([ :typeof $CheckHealthLast ] != "array") do={
:set CheckHealthLast [ :toarray "" ];
:set CheckHealthLast ({});
}
:if ([ :typeof $CheckHealthTemperatureNotified ] != "array") do={
:set CheckHealthTemperatureNotified [ :toarray "" ];
:set CheckHealthTemperatureNotified ({});
}
$ScriptLock $0;