mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -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
|
if test $RC != 0 ; then
|
||||||
echo "ldapsearch failed ($RC)!"
|
echo "ldapsearch failed ($RC)!"
|
||||||
kill -HUP $PID $SLAVEPID $SLURPPID
|
kill -INT $PID $SLAVEPID $SLURPPID
|
||||||
exit $RC
|
exit $RC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -161,11 +161,11 @@ $LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
|
||||||
|
|
||||||
if test $RC != 0 ; then
|
if test $RC != 0 ; then
|
||||||
echo "ldapsearch failed ($RC)!"
|
echo "ldapsearch failed ($RC)!"
|
||||||
kill -HUP $PID $SLAVEPID $SLURPPID
|
kill -INT $PID $SLAVEPID $SLURPPID
|
||||||
exit $RC
|
exit $RC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
kill -HUP $PID $SLAVEPID $SLURPPID
|
kill -INT $PID $SLAVEPID $SLURPPID
|
||||||
|
|
||||||
SEARCHOUT=$MASTEROUT
|
SEARCHOUT=$MASTEROUT
|
||||||
LDIF=$SLAVEOUT
|
LDIF=$SLAVEOUT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue