1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 09:57:09 +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

@ -30,14 +30,12 @@ returnval=$?
if [ "x$1" = "xautoconf" ]; then
if [ -z "$targets" ]; then
echo "no (no md devices found under /sys/devices/virtual/block/*/md/mismatch_cnt)"
exit 1;
elif [ "x$returnval" != "x0" ]; then
echo "no (discovery of md devices failed strangely)"
exit 1;
else
echo "yes"
exit 0
fi
exit 0
fi
if [ "x$1" = "xconfig" ]; then