waitfor_xpds: handle the case of a failing AB

If an Astribank failed initialization, don't keep waiting for it.
This commit is contained in:
Aslan Laoz 2014-01-14 15:34:24 +00:00 committed by Tzafrir Cohen
parent dd752529f0
commit bce5afacf1
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ waitfor_ab_initialization() {
fi
test "$oldab" != "$ab"
do
if [ "$ab" = '' ]; then
echo >&2 "Astribanks disappeared"
break
fi
oldab="$ab"
cat $ab
#echo -n 1>&2 "_"