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

be even more precise

This commit is contained in:
Ander Punnar 2017-04-14 17:30:36 +03:00
parent 1fe97cbfeb
commit 81baaf6976

View File

@ -66,7 +66,7 @@ GPLv2
#set -xv
MAIL_LOG="${logfiles:-/var/log/mail.log /var/log/mail.log.1}"
GREP_HOSTNAME=$(echo $0 | sed -r 's/^.+postfix_stats_?//')
GREP_HOSTNAME=$(basename "$0" | sed -r 's/postfix_stats_?//')
# shellcheck disable=SC2154
PFLOGSUMM="${pflogsum}"