mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Plugin proftpd_bytes: fix autoconf handling
This commit is contained in:
parent
33e95e6ff9
commit
68eddb5865
1 changed files with 2 additions and 3 deletions
|
@ -27,11 +27,10 @@ STATEFILE=$MUNIN_PLUGSTATE/xferlog-bytes.offset
|
||||||
if [ "$1" = "autoconf" ]; then
|
if [ "$1" = "autoconf" ]; then
|
||||||
if [ -f "${LOGFILE}" -a -n "${LOGTAIL}" -a -x "${LOGTAIL}" ] ; then
|
if [ -f "${LOGFILE}" -a -n "${LOGTAIL}" -a -x "${LOGTAIL}" ] ; then
|
||||||
echo yes
|
echo yes
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
echo no
|
echo "no (missing logfile or 'logtail' executable)"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "config" ]; then
|
if [ "$1" = "config" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue