Kill slapd before exiting

This commit is contained in:
Hallvard Furuseth 2008-11-16 04:33:11 +00:00
parent 85e8b309d5
commit 947612e72f

View file

@ -103,13 +103,15 @@ replace: sn
sn: James A Jones 1
EOMODS
RC=$?
test $KILLSERVERS != no && kill -HUP $KILLPIDS
case $RC in
0)
echo "ldapmodify succeed as expected"
;;
*)
echo "ldapmodify failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
;;
esac