o) fix annoying message when killall didn't find any lost slaves
This commit is contained in:
parent
ae2a709430
commit
655a7db9cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103464
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user