diff --git a/shunit2 b/shunit2 index 57a45da..fb955cc 100755 --- a/shunit2 +++ b/shunit2 @@ -1373,5 +1373,5 @@ _shunit_generateReport # That's it folks. if ! ${__SHUNIT_BUILTIN} [ "${__shunit_testsFailed}" -eq 0 ]; then - return ${SHUNIT_FALSE} + exit ${SHUNIT_FALSE} fi