Skip to content
Snippets Groups Projects
Commit 6e6148f7 authored by Christoph Borchert's avatar Christoph Borchert
Browse files

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
parent 36d9e77c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment