ITS#9468 - Fix script logic

Fix missing addition of SERVERPID to KILLPIDS so that a slapd process
doesn't get left behind in some instances
This commit is contained in:
Quanah Gibson-Mount 2022-06-30 18:02:24 +00:00 committed by Quanah Gibson-Mount
parent 45d735b303
commit 8c970e333e

View file

@ -74,6 +74,7 @@ if test $RC != 0 ; then
test $KILLSERVERS != no && kill -HUP $SERVERPID
exit $RC
fi
KILLPIDS="$KILLPIDS $SERVERPID"
#
# Start slapd that will proxy for the remote server
@ -418,4 +419,4 @@ echo ">>>>> Test succeeded"
test $KILLSERVERS != no && wait
exit 0
exit 0