Fail if proxy cannot be started.

This commit is contained in:
Kurt Zeilenga 2004-12-29 21:20:57 +00:00
parent 3ecf27503f
commit 331ea001ac

View file

@ -94,6 +94,12 @@ for i in 0 1 2 3 4 5; do
sleep 5
done
if test $RC != 0 ; then
echo "ldapsearch failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
fi
echo "Making queries on the proxy cache..."
echo "Query 1: filter:(sn=Jon) attrs: all"
$LDAPSEARCH -x -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT2 \