aboutsummaryrefslogtreecommitdiff
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2004-03-09 20:20:05 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2004-03-09 20:20:05 +0000
commit655a7db9cf139025406f12fbd8a015c1538ea343 (patch)
treea6b092441d39ff4d2adaae30fe85325a1881dee9 /sysutils/apcupsd
parentae2a70943058fbd174da219b007aeb9239857cff (diff)
downloadports-655a7db9cf139025406f12fbd8a015c1538ea343.tar.gz
ports-655a7db9cf139025406f12fbd8a015c1538ea343.zip
Notes
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/files/apcupsd.sh.sample3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/apcupsd/files/apcupsd.sh.sample b/sysutils/apcupsd/files/apcupsd.sh.sample
index 923d6b98ad2e..08dd7faec574 100644
--- a/sysutils/apcupsd/files/apcupsd.sh.sample
+++ b/sysutils/apcupsd/files/apcupsd.sh.sample
@@ -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