1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-03 06:38:24 +00:00

Fix trivial instances of wrong autoconf exitcodes

This commit is contained in:
Lars Kruse 2018-09-16 04:01:57 +02:00
parent 99f6979f22
commit e4cd049b01
152 changed files with 225 additions and 344 deletions

View file

@ -34,17 +34,15 @@ totrace=`basename $0 | sed 's/^mtr100_//g'`
if [ "$1" = "autoconf" ]; then
if ( mtr -nrc 1 localhost 2>/dev/null >/dev/null ); then
echo yes
exit 0
else
if [ $? -eq 127 ]
then
echo "no (mtr program not found - install the mtr(-tiny) package)"
exit 1
else
echo no
exit 1
fi
fi
exit 0
exit 0
fi