Révision 68eddb58
Plugin proftpd_bytes: fix autoconf handling
| plugins/ftp/proftpd_bytes | ||
|---|---|---|
| 27 | 27 |
if [ "$1" = "autoconf" ]; then |
| 28 | 28 |
if [ -f "${LOGFILE}" -a -n "${LOGTAIL}" -a -x "${LOGTAIL}" ] ; then
|
| 29 | 29 |
echo yes |
| 30 |
exit 0 |
|
| 31 | 30 |
else |
| 32 |
echo no |
|
| 33 |
exit 1 |
|
| 31 |
echo "no (missing logfile or 'logtail' executable)" |
|
| 34 | 32 |
fi |
| 33 |
exit 0 |
|
| 35 | 34 |
fi |
| 36 | 35 |
|
| 37 | 36 |
if [ "$1" = "config" ]; then |
Formats disponibles : Unified diff