aboutsummaryrefslogtreecommitdiffstats
path: root/email-daily-psk
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-24 16:34:06 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-24 16:58:30 +0200
commitc61360240172d83d759b7520d7ddf22f9a34ef7f (patch)
tree30d6a92e961843d9d980528433f351956c7c3114 /email-daily-psk
parent07e54dd88be74e6c069e8a376f0a3b7b499c4dab (diff)
email-daily-psk: properly create empty array
https://wiki.mikrotik.com/wiki/Manual:Scripting_Tips_and_Tricks#How_to_define_empty_array
Diffstat (limited to 'email-daily-psk')
-rw-r--r--email-daily-psk2
1 files changed, 1 insertions, 1 deletions
diff --git a/email-daily-psk b/email-daily-psk
index 497f240..3f8b9a7 100644
--- a/email-daily-psk
+++ b/email-daily-psk
@@ -9,7 +9,7 @@
:global "email-general-cc";
:global "daily-psk-match-comment";
-:local seen { "" };
+:local seen [ :toarray "" ];
:foreach acclist in=[ / interface wireless access-list find where comment~$"daily-psk-match-comment" ] do={
:local skip 0;