Codebase list unbound / c6ff555
munin plugin: always exit 0 in autoconf The autoconf operation should always exit 0, also in case the answer in "no", see https://guide.munin-monitoring.org/en/latest/develop/plugins/plugin-concise.html#autoconf Christian Göttsche 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
173173 if test "$1" = "autoconf" ; then
174174 if test ! -f $conf; then
175175 echo no "($conf does not exist)"
176 exit 1
176 exit 0
177177 fi
178178 if test ! -d `dirname $state`; then
179179 echo no "(`dirname $state` directory does not exist)"
180 exit 1
180 exit 0
181181 fi
182182 echo yes
183183 exit 0