if test $RC != 0 ; then
echo "Refresh failed"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
- exit 0
+ exit 1
fi
echo ""
if test $RC != 0 ; then
echo "Refresh failed"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
- exit 0
+ exit 1
fi
CNT=`expr $CNT + 1`
if test $RC != 0 ; then
echo "Refresh failed"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
- exit 0
+ exit 1
fi
echo ""
if test $RC != 3 ; then
echo "ldappasswd didn't update the cache"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
- exit 0
+ exit 1
fi
CNT=`expr $CNT + 1`
if test $RC != 4 ; then
echo "Bind wasn't answered from cache"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
- exit 0
+ exit 1
fi
test $KILLSERVERS != no && kill -HUP $KILLPIDS