From 16fcdeca9eda36acb95bdfaacc21cb6af923cdf0 Mon Sep 17 00:00:00 2001 From: Ander Punnar Date: Sat, 15 Apr 2017 18:06:12 +0300 Subject: [PATCH] use fixed string --- 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 8bfb212b..072435d4 100755 --- a/plugins/postfix/postfix_stats +++ b/plugins/postfix/postfix_stats @@ -127,7 +127,7 @@ fi # Variable to store the pflogsumm result. if [ -n "${FILTER_HOSTNAME}" ]; then # shellcheck disable=SC2086 - TMP_RAW=$(grep -h " ${FILTER_HOSTNAME} postfix/" ${MAIL_LOG} | "${PFLOGSUMM}" -d today --detail 0 --zero-fill) + TMP_RAW=$(grep -Fh " ${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})