aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:33:58 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:33:58 +0200
commit164ebe8c8ac57800af31c27d49d45a042fa96d8e (patch)
tree0beff9f87087913ccb81fc86dbf40a998ca13972
parent49147c83ca2a52666e2c98762005dfb403e3d149 (diff)
log-forward: update initialization of empty array
Having the parenthesis here is important for valid syntax!
-rw-r--r--log-forward2
1 files changed, 1 insertions, 1 deletions
diff --git a/log-forward b/log-forward
index 63c7ea7..6ccad4f 100644
--- a/log-forward
+++ b/log-forward
@@ -46,7 +46,7 @@ $ScriptLock $0;
:local Messages "";
:local Warning false;
:local MessageVal;
-:local MessageDups [ :toarray "" ];
+:local MessageDups ({});
:local LogForwardFilterLogForwarding ("^Error sending e-mail <(" . \
[ $EscapeForRegEx [ $QuotedPrintable ("[" . $Identity . "] " . \