mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix test000 for back-monitor built as module
This commit is contained in:
parent
fa0f020503
commit
75e415472d
@ -49,11 +49,13 @@ if test $RC = 0 ; then
|
||||
|
||||
fi
|
||||
|
||||
if test $RC = 0 -a $MONITORDB = yes ; then
|
||||
echo "Using ldapsearch to retrieve the cn=Monitor..."
|
||||
$LDAPSEARCH -b "cn=Monitor" -s base -h $LOCALHOST -p $PORT1 \
|
||||
'+extensibleObject' >> $SEARCHOUT 2>&1
|
||||
RC=$?
|
||||
if test $RC = 0 ; then
|
||||
if test $MONITORDB = yes -o $MONITORDB = mod ; then
|
||||
echo "Using ldapsearch to retrieve the cn=Monitor..."
|
||||
$LDAPSEARCH -b "cn=Monitor" -s base -h $LOCALHOST -p $PORT1 \
|
||||
'+extensibleObject' >> $SEARCHOUT 2>&1
|
||||
RC=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
|
Loading…
Reference in New Issue
Block a user