]> git.sur5r.net Git - openldap/commitdiff
Use kill -INT to kill slurpd
authorKurt Zeilenga <kurt@openldap.org>
Fri, 4 May 2001 04:05:56 +0000 (04:05 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 4 May 2001 04:05:56 +0000 (04:05 +0000)
tests/scripts/test007-replication

index 981496ec15ca14ee992ddc1583f43288b365f49f..e56e765f75a2fb7f42e771061c2a9689eceda756 100755 (executable)
@@ -151,7 +151,7 @@ $LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
 
 if test $RC != 0 ; then
        echo "ldapsearch failed ($RC)!"
-       kill -HUP $PID $SLAVEPID $SLURPPID
+       kill -INT $PID $SLAVEPID $SLURPPID
        exit $RC
 fi
 
@@ -161,11 +161,11 @@ $LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
 
 if test $RC != 0 ; then
        echo "ldapsearch failed ($RC)!"
-       kill -HUP $PID $SLAVEPID $SLURPPID
+       kill -INT $PID $SLAVEPID $SLURPPID
        exit $RC
 fi
 
-kill -HUP $PID $SLAVEPID $SLURPPID
+kill -INT $PID $SLAVEPID $SLURPPID
 
 SEARCHOUT=$MASTEROUT
 LDIF=$SLAVEOUT