mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-24 15:52:54 -05:00
ITS#2363 - slurpd should now exit cleanly without -KILL
This commit is contained in:
parent
3c0b0d507a
commit
c532587f51
1 changed files with 4 additions and 4 deletions
|
|
@ -95,7 +95,7 @@ RC=$?
|
||||||
if test $RC != 0 ; then
|
if test $RC != 0 ; then
|
||||||
echo "ldapadd failed ($RC)!"
|
echo "ldapadd failed ($RC)!"
|
||||||
kill -HUP $PID $SLAVEPID
|
kill -HUP $PID $SLAVEPID
|
||||||
kill -KILL $SLURPPID
|
kill -HUP $SLURPPID
|
||||||
exit $RC
|
exit $RC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -191,7 +191,7 @@ RC=$?
|
||||||
if test $RC != 0 ; then
|
if test $RC != 0 ; then
|
||||||
echo "ldapsearch failed ($RC)!"
|
echo "ldapsearch failed ($RC)!"
|
||||||
kill -HUP $PID $SLAVEPID
|
kill -HUP $PID $SLAVEPID
|
||||||
kill -KILL $SLURPPID
|
kill -HUP $SLURPPID
|
||||||
exit $RC
|
exit $RC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -203,12 +203,12 @@ RC=$?
|
||||||
if test $RC != 0 ; then
|
if test $RC != 0 ; then
|
||||||
echo "ldapsearch failed ($RC)!"
|
echo "ldapsearch failed ($RC)!"
|
||||||
kill -HUP $PID $SLAVEPID
|
kill -HUP $PID $SLAVEPID
|
||||||
kill -KILL $SLURPPID
|
kill -HUP $SLURPPID
|
||||||
exit $RC
|
exit $RC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
kill -HUP $PID $SLAVEPID
|
kill -HUP $PID $SLAVEPID
|
||||||
kill -KILL $SLURPPID
|
kill -HUP $SLURPPID
|
||||||
|
|
||||||
SEARCHOUT=$MASTEROUT
|
SEARCHOUT=$MASTEROUT
|
||||||
LDIF=$SLAVEOUT
|
LDIF=$SLAVEOUT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue