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:
parent
99f6979f22
commit
e4cd049b01
152 changed files with 225 additions and 344 deletions
|
@ -21,11 +21,10 @@ LOGTAIL=${logtail:-`which logtail`}
|
|||
if [ "$1" = "autoconf" ]; then
|
||||
if [ -f "${AUTH_LOG}" -a -n "${LOGTAIL}" -a -x "${LOGTAIL}" ] ; then
|
||||
echo yes
|
||||
exit 0
|
||||
else
|
||||
echo no
|
||||
exit 1
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
|
|
|
@ -62,7 +62,7 @@ when 'autoconf'
|
|||
fh = open(SYSLOG, 'r')
|
||||
rescue
|
||||
puts 'no'
|
||||
exit 1
|
||||
exit 0
|
||||
else
|
||||
puts 'yes'
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue