mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
Use kill -INT to kill slurpd
This commit is contained in:
parent
aa983f343e
commit
0d41df6ff8
1 changed files with 3 additions and 3 deletions
|
|
@ -151,7 +151,7 @@ $LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
|
|||
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapsearch failed ($RC)!"
|
||||
kill -HUP $PID $SLAVEPID $SLURPPID
|
||||
kill -INT $PID $SLAVEPID $SLURPPID
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
|
|
@ -161,11 +161,11 @@ $LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
|
|||
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapsearch failed ($RC)!"
|
||||
kill -HUP $PID $SLAVEPID $SLURPPID
|
||||
kill -INT $PID $SLAVEPID $SLURPPID
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
kill -HUP $PID $SLAVEPID $SLURPPID
|
||||
kill -INT $PID $SLAVEPID $SLURPPID
|
||||
|
||||
SEARCHOUT=$MASTEROUT
|
||||
LDIF=$SLAVEOUT
|
||||
|
|
|
|||
Loading…
Reference in a new issue