aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.d/notification-matrix
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-09-08 14:33:02 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-09-08 14:33:02 +0200
commit70f9c7926b31d7d7e4e48157e83e0e3acf8352e0 (patch)
tree2fc70daea8ab1769a9e6365a5f26f04e02d1ddec /global-functions.d/notification-matrix
parent150c2281973ff28b764637b3df83d3b8005cfe0e (diff)
global-functions*: syntax for ROS 7.xrouteros-7.1rc3
Strings with escape sequence have to be enclosed in parentheses. Looks like RouterOS 7.x is stricter here...
Diffstat (limited to 'global-functions.d/notification-matrix')
-rw-r--r--global-functions.d/notification-matrix2
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.d/notification-matrix b/global-functions.d/notification-matrix
index 962924e..a2f7af0 100644
--- a/global-functions.d/notification-matrix
+++ b/global-functions.d/notification-matrix
@@ -135,7 +135,7 @@
plain=$Plain; formatted=$Formatted };
:if ([ :len [ / system scheduler find where name="FlushMatrixQueue" ] ] = 0) do={
/ system scheduler add name=FlushMatrixQueue interval=1m start-time=startup \
- on-event=":global FlushMatrixQueue; \$FlushMatrixQueue;";
+ on-event=(":global FlushMatrixQueue; \$FlushMatrixQueue;");
}
}
}