From 5ddea03e3e63ac264d3f8c17801150cfa89a2379 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 5 Jul 2000 23:28:07 +0000 Subject: [PATCH] Log a message in addition to setting a failure code when kill -TERM doesn't kill a server. --- bin/tests/system/stop.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/stop.sh b/bin/tests/system/stop.sh index 63c72a3097..87c6cf6cbc 100644 --- a/bin/tests/system/stop.sh +++ b/bin/tests/system/stop.sh @@ -15,7 +15,7 @@ # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS # SOFTWARE. -# $Id: stop.sh,v 1.9 2000/07/05 18:48:56 bwelling Exp $ +# $Id: stop.sh,v 1.10 2000/07/05 23:28:07 bwelling Exp $ # # Stop name servers. @@ -49,6 +49,7 @@ for d in ns* do pidfile="$d/named.pid" if [ -f $pidfile ]; then + echo "I: $d didn't die when sent a SIGTERM" status=`expr $status + 1` kill -KILL `cat $pidfile` fi @@ -58,6 +59,7 @@ for d in lwresd* do pidfile="$d/lwresd.pid" if [ -f $pidfile ]; then + echo "I: $d didn't die when sent a SIGTERM" status=`expr $status + 1` kill -KILL `cat $pidfile` fi