client.sh: exit on any error status
This prevents the client script from continuously invoking the fail-client when it is not executable, e.g., in the case of missing libraries. Change-Id: I2746eaf1980507dbd7c95fb5a6a1cc018a33aa67
This commit is contained in:
@ -51,7 +51,7 @@ do
|
|||||||
#nice -n 19 ./bochs -q 2>&1 | tee log.$$.txt | fgrep Result
|
#nice -n 19 ./bochs -q 2>&1 | tee log.$$.txt | fgrep Result
|
||||||
#nice -n 18 ./bochs -q 2>&1 | fgrep Result
|
#nice -n 18 ./bochs -q 2>&1 | fgrep Result
|
||||||
nice -n 18 ./fail-client -q >/dev/null 2>&1
|
nice -n 18 ./fail-client -q >/dev/null 2>&1
|
||||||
if [ $? -eq 1 ]
|
if [ $? -gt 0 ] # exit on any error
|
||||||
then
|
then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user