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:
Christoph Borchert
2014-11-10 15:28:33 +01:00
parent 36d9e77c96
commit 6e6148f701

View File

@ -51,7 +51,7 @@ do
#nice -n 19 ./bochs -q 2>&1 | tee log.$$.txt | fgrep Result
#nice -n 18 ./bochs -q 2>&1 | fgrep Result
nice -n 18 ./fail-client -q >/dev/null 2>&1
if [ $? -eq 1 ]
if [ $? -gt 0 ] # exit on any error
then
break
fi