mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fix trivial instances of wrong autoconf exitcodes
This commit is contained in:
parent
99f6979f22
commit
e4cd049b01
152 changed files with 225 additions and 344 deletions
|
@ -78,9 +78,9 @@ MINUTE_BY_GREP_RANGE=10
|
|||
if [ "$1" = "autoconf" ]; then
|
||||
if [ $CHECKMAX -le 1 ]; then
|
||||
echo no
|
||||
exit 1
|
||||
else
|
||||
echo yes
|
||||
fi
|
||||
echo yes
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
|
@ -40,9 +40,9 @@ let CHECKMAX="$CHECKMAX + 1"
|
|||
if [ "$1" = "autoconf" ]; then
|
||||
if [ $CHECKMAX -le 1 ]; then
|
||||
echo no
|
||||
exit 1
|
||||
else
|
||||
echo yes
|
||||
fi
|
||||
echo yes
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
|
@ -90,9 +90,9 @@ CURL=/usr/bin/curl
|
|||
if [ "$1" = "autoconf" ]; then
|
||||
if [ $CHECKMAX -le 1 ]; then
|
||||
echo no
|
||||
exit 1
|
||||
else
|
||||
echo yes
|
||||
fi
|
||||
echo yes
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
|
@ -40,11 +40,11 @@ fi
|
|||
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
if [ -f $UPDATE_STATSFILE ]; then
|
||||
echo "yes"
|
||||
exit 0
|
||||
echo "yes"
|
||||
else
|
||||
echo "no (logfile not readable)"
|
||||
fi
|
||||
echo "no (logfile not readable)"
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue