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

fix shellcheck

This commit is contained in:
Ander Punnar 2017-04-14 17:36:37 +03:00
parent 390c805027
commit b43f35f106

View File

@ -120,10 +120,11 @@ fi
# #
# Variable to store the pflogsumm result. # Variable to store the pflogsumm result.
# shellcheck disable=SC2086
if [ -n "${FILTER_HOSTNAME}" ]; then 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 -h " ${FILTER_HOSTNAME} postfix/" ${MAIL_LOG} | "${PFLOGSUMM}" -d today --detail 0 --zero-fill)
else else
# shellcheck disable=SC2086
TMP_RAW=$("${PFLOGSUMM}" -d today --detail 0 --zero-fill ${MAIL_LOG}) TMP_RAW=$("${PFLOGSUMM}" -d today --detail 0 --zero-fill ${MAIL_LOG})
fi fi