summaryrefslogtreecommitdiff
path: root/source4/script/tests/selftest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests/selftest.sh')
-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=$?