1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

selftest/selftest.pl: we don't need to call Subunit::progress_pop() twice on error

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2016-12-29 21:45:32 +01:00
parent a5db045f98
commit 133416a8b9

View File

@ -142,7 +142,6 @@ sub run_testsuite($$$$$)
Subunit::progress_pop();
if ($? == -1) {
Subunit::progress_pop();
Subunit::end_testsuite($name, "error", "Unable to run $cmd: $!");
exit(1);
} elsif ($? & 127) {