From b43f35f106e4f3cef6c3c8e7c7af887818d2a749 Mon Sep 17 00:00:00 2001 From: Ander Punnar Date: Fri, 14 Apr 2017 17:36:37 +0300 Subject: [PATCH] fix shellcheck --- plugins/postfix/postfix_stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/postfix/postfix_stats b/plugins/postfix/postfix_stats index 12da3c9a..82469b60 100755 --- a/plugins/postfix/postfix_stats +++ b/plugins/postfix/postfix_stats @@ -120,10 +120,11 @@ fi # # Variable to store the pflogsumm result. -# shellcheck disable=SC2086 if [ -n "${FILTER_HOSTNAME}" ]; then + # shellcheck disable=SC2086 TMP_RAW=$(grep -h " ${FILTER_HOSTNAME} postfix/" ${MAIL_LOG} | "${PFLOGSUMM}" -d today --detail 0 --zero-fill) else + # shellcheck disable=SC2086 TMP_RAW=$("${PFLOGSUMM}" -d today --detail 0 --zero-fill ${MAIL_LOG}) fi