o) fix annoying message when killall didn't find any lost slaves

This commit is contained in:
Lars Koeller 2004-03-09 20:20:05 +00:00
parent ae2a709430
commit 655a7db9cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103464

View File

@ -42,7 +42,8 @@ case $1 in
kill -KILL $PID || return=" Failed."
rm -f ${apcupsd_pidfile}
# some slaves won't die
killall apcupsd
killall apcupsd > /dev/null 2>&1
echo " apcupsd killed"
else
return=" Failed."
fi