diff options
author | Christian Hesse <mail@eworm.de> | 2022-07-13 11:35:32 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-07-13 11:35:32 +0200 |
commit | d6337fcc9733b6a780cf44d2b367f1700464507e (patch) | |
tree | ff84e51423c3d2c07d1a88d9156918cbfe190e1b | |
parent | 8a85a258fc787932c7c00423091bb758ec9cbe02 (diff) |
netwatch-notify: update initialization of empty array
Having the parenthesis here is important for valid syntax!
-rw-r--r-- | netwatch-notify | 2 |
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={ |