]> git.sur5r.net Git - openldap/commitdiff
Check ldapmodify for success.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 22 Oct 2003 21:20:58 +0000 (21:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 22 Oct 2003 21:20:58 +0000 (21:20 +0000)
tests/scripts/test007-replication

index 776366647a49a10115de2d6a78e75770cd6fb570..4ab65e5a8218205ac722c0d256b2c51cfd52842f 100755 (executable)
@@ -167,6 +167,12 @@ changetype: delete
 
 EOMODS
 
+if test $RC != 0 ; then
+       echo "ldapmodify failed ($RC)!"
+       test $KILLSERVERS != no && kill -HUP $KILLPIDS
+       exit $RC
+fi
+
 echo "Waiting 15 seconds for slurpd to send changes..."
 sleep 15