]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9468 - Fix script logic
authorQuanah Gibson-Mount <quanah@symas.com>
Thu, 30 Jun 2022 18:02:24 +0000 (18:02 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 30 Jun 2022 20:24:50 +0000 (20:24 +0000)
Fix missing addition of SERVERPID to KILLPIDS so that a slapd process
doesn't get left behind in some instances

tests/data/regressions/its9468/its9468

index 3f8327006b7c718b583fcd3b74d19ae9e2c3a469..3e2e70fcf501206a1e9f45edd38737f10717c7f3 100755 (executable)
@@ -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
\ No newline at end of file
+exit 0