2
0
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:
Lars Kruse 2018-08-03 12:59:16 +02:00
parent 17f784270a
commit d4320aea82

View File

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