2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

use fixed string

This commit is contained in:
Ander Punnar 2017-04-15 18:06:12 +03:00
parent 56a367da72
commit 16fcdeca9e

View File

@ -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})