mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Plugin proftpd_bytes: fix autoconf handling
This commit is contained in:
parent
33e95e6ff9
commit
68eddb5865
@ -27,11 +27,10 @@ STATEFILE=$MUNIN_PLUGSTATE/xferlog-bytes.offset
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
if [ -f "${LOGFILE}" -a -n "${LOGTAIL}" -a -x "${LOGTAIL}" ] ; then
|
||||
echo yes
|
||||
exit 0
|
||||
else
|
||||
echo no
|
||||
exit 1
|
||||
echo "no (missing logfile or 'logtail' executable)"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user