1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

netwatch-notify: update initialization of empty array

Having the parenthesis here is important for valid syntax!
This commit is contained in:
Christian Hesse
2022-07-13 11:35:32 +02:00
parent 8a85a258fc
commit d6337fcc97

View File

@ -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={