From 68eddb586565c54345ac778b8b1930cb7df750ae Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Thu, 2 Aug 2018 00:06:14 +0200 Subject: [PATCH] Plugin proftpd_bytes: fix autoconf handling --- plugins/ftp/proftpd_bytes | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/ftp/proftpd_bytes b/plugins/ftp/proftpd_bytes index b34f38f7..730e4d44 100755 --- a/plugins/ftp/proftpd_bytes +++ b/plugins/ftp/proftpd_bytes @@ -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