mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#2363 - slurpd should now exit cleanly without -KILL
This commit is contained in:
parent
3c0b0d507a
commit
c532587f51
@ -95,7 +95,7 @@ RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapadd failed ($RC)!"
|
||||
kill -HUP $PID $SLAVEPID
|
||||
kill -KILL $SLURPPID
|
||||
kill -HUP $SLURPPID
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
@ -191,7 +191,7 @@ RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapsearch failed ($RC)!"
|
||||
kill -HUP $PID $SLAVEPID
|
||||
kill -KILL $SLURPPID
|
||||
kill -HUP $SLURPPID
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
@ -203,12 +203,12 @@ RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapsearch failed ($RC)!"
|
||||
kill -HUP $PID $SLAVEPID
|
||||
kill -KILL $SLURPPID
|
||||
kill -HUP $SLURPPID
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
kill -HUP $PID $SLAVEPID
|
||||
kill -KILL $SLURPPID
|
||||
kill -HUP $SLURPPID
|
||||
|
||||
SEARCHOUT=$MASTEROUT
|
||||
LDIF=$SLAVEOUT
|
||||
|
Loading…
Reference in New Issue
Block a user