commit 0be284db30205ed325ec208bf1664f892bcff12b from: Alexander Barton date: Mon Sep 06 20:30:43 2004 UTC Fixed wrong exit code check of "kill -0". [From HEAD]. commit - e2e89067aee9049d4fd3a3cf400c39af68c1052b commit + 0be284db30205ed325ec208bf1664f892bcff12b blob - 66ecdf044c50f6079f8528852e1bf2b3a84f0f0c blob + 8492b7783572abc586247781b3618bf78430e20e --- src/testsuite/stop-server.sh +++ src/testsuite/stop-server.sh @@ -1,6 +1,6 @@ #!/bin/sh # ngIRCd Test Suite -# $Id: stop-server.sh,v 1.10.2.1 2004/09/04 20:49:36 alex Exp $ +# $Id: stop-server.sh,v 1.10.2.2 2004/09/06 20:30:43 alex Exp $ [ -z "$srcdir" ] && srcdir=`dirname $0` @@ -17,7 +17,7 @@ kill $pid > /dev/null 2>&1 || exit 1 # waiting ... for i in 1 2 3 4 5; do kill -0 $pid > /dev/null 2>&1; r=$? - if [ $r -eq 0 ]; then + if [ $r -ne 0 ]; then echo " ok". exit 0 fi