summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/script/tests/selftest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index 021b713a02..673c001c78 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -113,7 +113,7 @@ totalfailed=0
export totalfailed
. script/tests/tests_$TESTS.sh
- exit $failed
+ exit $totalfailed
) 9>$SMBD_TEST_FIFO
failed=$?