Merge pull request #270 from cgzones/munin

munin plugin: always exit 0 in autoconf
This commit is contained in:
Wouter Wijngaards 2020-07-27 13:02:30 +02:00 committed by GitHub
commit 5db73977d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,11 +174,11 @@ get_state ( ) {
if test "$1" = "autoconf" ; then
if test ! -f $conf; then
echo no "($conf does not exist)"
exit 1
exit 0
fi
if test ! -d `dirname $state`; then
echo no "(`dirname $state` directory does not exist)"
exit 1
exit 0
fi
echo yes
exit 0