There is no SLURPPID to kill

Test is also valid for back-hdb
This commit is contained in:
Howard Chu 2003-05-24 04:30:53 +00:00
parent 73f2048456
commit d8476d75c9
2 changed files with 2 additions and 8 deletions

View file

@ -8,7 +8,7 @@ fi
. $SRCDIR/scripts/args.sh . $SRCDIR/scripts/args.sh
if test "$BACKEND" != "bdb"; then if test "$BACKEND" != "bdb" -a "$BACKEND" != "hdb"; then
echo "Test only valid for back-bdb" echo "Test only valid for back-bdb"
exit 0 exit 0
fi fi
@ -82,7 +82,6 @@ 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 -HUP $SLURPPID
exit $RC exit $RC
fi fi
@ -179,7 +178,6 @@ RC=$?
if test $RC != 0 ; then if test $RC != 0 ; then
echo "ldapsearch failed at master ($RC)!" echo "ldapsearch failed at master ($RC)!"
kill -HUP $PID $SLAVEPID kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC exit $RC
fi fi
@ -191,7 +189,6 @@ RC=$?
if test $RC != 0 ; then if test $RC != 0 ; then
echo "ldapsearch failed at slave ($RC)!" echo "ldapsearch failed at slave ($RC)!"
kill -HUP $PID $SLAVEPID kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC exit $RC
fi fi

View file

@ -8,7 +8,7 @@ fi
. $SRCDIR/scripts/args.sh . $SRCDIR/scripts/args.sh
if test "$BACKEND" != "bdb"; then if test "$BACKEND" != "bdb" -a "$BACKEND" != "hdb"; then
echo "Test only valid for back-bdb" echo "Test only valid for back-bdb"
exit 0 exit 0
fi fi
@ -82,7 +82,6 @@ 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 -HUP $SLURPPID
exit $RC exit $RC
fi fi
@ -179,7 +178,6 @@ RC=$?
if test $RC != 0 ; then if test $RC != 0 ; then
echo "ldapsearch failed at master ($RC)!" echo "ldapsearch failed at master ($RC)!"
kill -HUP $PID $SLAVEPID kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC exit $RC
fi fi
@ -191,7 +189,6 @@ RC=$?
if test $RC != 0 ; then if test $RC != 0 ; then
echo "ldapsearch failed at slave ($RC)!" echo "ldapsearch failed at slave ($RC)!"
kill -HUP $PID $SLAVEPID kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC exit $RC
fi fi