summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xctdb/tests/scripts/run_tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/scripts/run_tests b/ctdb/tests/scripts/run_tests
index 0d9577461b..50a578b26c 100755
--- a/ctdb/tests/scripts/run_tests
+++ b/ctdb/tests/scripts/run_tests
@@ -244,7 +244,7 @@ else
fi
if [ $tests_failed -gt 0 ] ; then
- if $no_header ; then
+ if $no_header || $exit_on_fail ; then
exit $status
else
exit 1