Skip to content

Commit d6337fc

Browse files
committed
netwatch-notify: update initialization of empty array
Having the parenthesis here is important for valid syntax!
1 parent 8a85a25 commit d6337fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netwatch-notify

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $ScriptLock $0;
5656
}
5757

5858
:if ([ :typeof $NetwatchNotify ] = "nothing") do={
59-
:set NetwatchNotify [ :toarray "" ];
59+
:set NetwatchNotify ({});
6060
}
6161

6262
:foreach Host in=[ /tool/netwatch/find where comment~"notify" !disabled ] do={

0 commit comments

Comments
 (0)