]> git.sur5r.net Git - openldap/commitdiff
ITS#2363 - slurpd should now exit cleanly without -KILL
authorHoward Chu <hyc@openldap.org>
Mon, 24 Mar 2003 15:00:04 +0000 (15:00 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 24 Mar 2003 15:00:04 +0000 (15:00 +0000)
tests/scripts/test007-replication

index d8d00599221baede41395126e56186ef1c91a90b..07d7f5bc91fe950924a0d25ad432fd733b2146f8 100755 (executable)
@@ -95,7 +95,7 @@ RC=$?
 if test $RC != 0 ; then
        echo "ldapadd failed ($RC)!"
        kill -HUP $PID $SLAVEPID
-       kill -KILL $SLURPPID
+       kill -HUP $SLURPPID
        exit $RC
 fi
 
@@ -191,7 +191,7 @@ RC=$?
 if test $RC != 0 ; then
        echo "ldapsearch failed ($RC)!"
        kill -HUP $PID $SLAVEPID
-       kill -KILL $SLURPPID
+       kill -HUP $SLURPPID
        exit $RC
 fi
 
@@ -203,12 +203,12 @@ RC=$?
 if test $RC != 0 ; then
        echo "ldapsearch failed ($RC)!"
        kill -HUP $PID $SLAVEPID
-       kill -KILL $SLURPPID
+       kill -HUP $SLURPPID
        exit $RC
 fi
 
 kill -HUP $PID $SLAVEPID
-kill -KILL $SLURPPID
+kill -HUP $SLURPPID
 
 SEARCHOUT=$MASTEROUT
 LDIF=$SLAVEOUT