diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2004-03-10 04:20:05 +0800 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2004-03-10 04:20:05 +0800 |
commit | ca063683db8052b687299623c8c8adefa736b531 (patch) | |
tree | 1b73820b8517624e4fa70491cde1fee6d837db72 /sysutils | |
parent | 4844c728b7c4a66a449b7ebf7c66d0920ec0c5dc (diff) | |
download | freebsd-ports-gnome-ca063683db8052b687299623c8c8adefa736b531.tar.gz freebsd-ports-gnome-ca063683db8052b687299623c8c8adefa736b531.tar.zst freebsd-ports-gnome-ca063683db8052b687299623c8c8adefa736b531.zip |
o) fix annoying message when killall didn't find any lost slaves
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/apcupsd/files/apcupsd.sh.sample | 3 |
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 |