1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 10:28:36 +00:00

Merge branch 'fix-autoconf-exitcode'

Various plugins still followed the old (before 2009?) convention of using
a non-zero exitcode for indicating "no". Most of these (obvious) occasions
should be fixed now.
This commit is contained in:
Lars Kruse 2018-09-16 15:18:01 +02:00
commit 272220c61a
197 changed files with 380 additions and 588 deletions

View file

@ -52,11 +52,10 @@ case "$1" in
autoconf)
if [ -r /proc/net/dev ]; then
echo yes
exit 0
else
echo "no (/proc/net/dev not found)"
exit 1
fi
exit 0
;;
suggest)
if [ -r /proc/net/dev ]; then