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:
commit
272220c61a
197 changed files with 380 additions and 588 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue