aboutsummaryrefslogtreecommitdiffstats
path: root/check-health
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:31:44 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:31:44 +0200
commiteae9a7b956a4050caeacb58b6f6176087f3c2b0a (patch)
treeb97214a4b7733ba08a3cef6589deee9ad0a7aacf /check-health
parent3006e965988771e5f3aa3e531af7c2f23070c94e (diff)
check-health: update initialization of empty array
Having the parenthesis here is important for valid syntax!
Diffstat (limited to 'check-health')
-rw-r--r--check-health4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-health b/check-health
index 903c496..5da7d2a 100644
--- a/check-health
+++ b/check-health
@@ -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;