aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netwatch-notify2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwatch-notify b/netwatch-notify
index df13f4f..04e3d30 100644
--- a/netwatch-notify
+++ b/netwatch-notify
@@ -18,7 +18,7 @@
:local HostName ([ $ParseKeyValueStore ($HostVal->"comment") ]->"hostname");
:if ([ :typeof ($NetwatchNotify->$HostName) ] = "nothing") do={
- :set ($NetwatchNotify->$HostName) [ :toarray "" ];
+ :set ($NetwatchNotify->$HostName) { "count"=0; "notified"=false };
}
:if ($HostVal->"status" = "up") do={