correct condition for leaks in run-tests.php

This commit is contained in:
Joe Watkins 2018-03-02 13:22:12 +01:00
parent f7b48f7f1e
commit 0fe7636084
No known key found for this signature in database
GPG Key ID: F9BA0ADA31CBD89E

View File

@ -997,7 +997,7 @@ if ($html_output) {
save_or_mail_results();
junit_save_xml();
if (getenv('REPORT_EXIT_STATUS') == 1 && ($sum_results['FAILED'] || $sum_results['LEAK'] || $sum_results['LEAKED'])) {
if (getenv('REPORT_EXIT_STATUS') == 1 && ($sum_results['FAILED'] || $sum_results['LEAKED'])) {
exit(1);
}
exit(0);