summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/bfin/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/bfin/run-tests.sh')
-rw-r--r--sim/testsuite/sim/bfin/run-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/testsuite/sim/bfin/run-tests.sh b/sim/testsuite/sim/bfin/run-tests.sh
index 34a490c52d6..c5ee7771f31 100644
--- a/sim/testsuite/sim/bfin/run-tests.sh
+++ b/sim/testsuite/sim/bfin/run-tests.sh
@@ -12,7 +12,7 @@ usage() {
-rh <ip> Run on board ip
-j <num> Num jobs to run
EOF
- exit ${0:-1}
+ exit ${1:-1}
}
: ${MAKE:=make}