mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
be more clever
This commit is contained in:
parent
335d856dfa
commit
782097d72b
@ -62,7 +62,7 @@ GPLv2
|
||||
#set -xv
|
||||
MAIL_LOG="${logfiles:-/var/log/mail.log /var/log/mail.log.1}"
|
||||
|
||||
GREP_HOSTNAME="${0##*postfix_stats_}"
|
||||
GREP_HOSTNAME=$(echo $0 | sed -r 's/^.+postfix_stats_?//')
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
PFLOGSUMM="${pflogsum}"
|
||||
|
Loading…
Reference in New Issue
Block a user