mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-20 19:04:37 +02:00
netwatch-notify: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
parent
8a85a258fc
commit
d6337fcc97
1 changed files with 1 additions and 1 deletions
|
@ -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={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue