mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Plugin postfix-rbl-blocked-mails: improve autoconf output
This commit is contained in:
parent
17f784270a
commit
d4320aea82
@ -9,12 +9,12 @@ DATE=`date '+%b %e %H'`
|
||||
MAXLABEL=20
|
||||
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
if [[ -r $LOGFILE ]]; then
|
||||
echo yes
|
||||
else
|
||||
echo no
|
||||
fi
|
||||
exit 0
|
||||
if [ -r "$LOGFILE" ]; then
|
||||
echo yes
|
||||
else
|
||||
echo "no (log file not found: $LOGFILE)"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user