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:
@ -56,7 +56,7 @@ $ScriptLock $0;
|
|||||||
}
|
}
|
||||||
|
|
||||||
:if ([ :typeof $NetwatchNotify ] = "nothing") do={
|
:if ([ :typeof $NetwatchNotify ] = "nothing") do={
|
||||||
:set NetwatchNotify [ :toarray "" ];
|
:set NetwatchNotify ({});
|
||||||
}
|
}
|
||||||
|
|
||||||
:foreach Host in=[ /tool/netwatch/find where comment~"notify" !disabled ] do={
|
:foreach Host in=[ /tool/netwatch/find where comment~"notify" !disabled ] do={
|
||||||
|
Reference in New Issue
Block a user