aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-notify
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:57:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:57:47 +0200
commitb67b9ec1c17c47fca970449c13c6e94f42a1dcb6 (patch)
tree95a8834df649bf05a5ab3066be7804f52f81515b /netwatch-notify
parent5b2ea9b1a4f57bc7c61d06cd8b1e0a6452f031a8 (diff)
parent6fa15257003394d495f84a8dedebadfa8e1fa375 (diff)
Merge branch 'empty-array' into next
Diffstat (limited to 'netwatch-notify')
-rw-r--r--netwatch-notify2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwatch-notify b/netwatch-notify
index a725fc3..3b84a06 100644
--- a/netwatch-notify
+++ b/netwatch-notify
@@ -56,7 +56,7 @@ $ScriptLock $0;
}
:if ([ :typeof $NetwatchNotify ] = "nothing") do={
- :set NetwatchNotify [ :toarray "" ];
+ :set NetwatchNotify ({});
}
:foreach Host in=[ /tool/netwatch/find where comment~"notify" !disabled ] do={