From efff247575e151285b12291f06c40ac0a9481bae Mon Sep 17 00:00:00 2001 From: Martin Schobert Date: Fri, 30 Aug 2019 15:54:27 +0200 Subject: [PATCH] This typo ensures that you understand the script before using it :-) --- plugins/postfix/postfix_stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/postfix/postfix_stats b/plugins/postfix/postfix_stats index d3f51fbc..3552e098 100755 --- a/plugins/postfix/postfix_stats +++ b/plugins/postfix/postfix_stats @@ -76,7 +76,7 @@ MAIL_LOG="${logfiles:-/var/log/mail.log /var/log/mail.log.1}" FILTER_HOSTNAME=$(basename "$0" | sed -r 's/postfix_stats_?//') # shellcheck disable=SC2154 -PFLOGSUMM="${pflogsum}" +PFLOGSUMM="${pflogsumm}" [ -z "$PFLOGSUMM" ] && PFLOGSUMM="$(which pflogsumm pflogsumm.pl | head -1)" # Fields (Array to avoid code duplication) must be space separated