From: Stefan Metzmacher Date: Thu, 29 Dec 2016 20:45:32 +0000 (+0100) Subject: selftest/selftest.pl: we don't need to call Subunit::progress_pop() twice on error X-Git-Tag: talloc-2.1.9~435 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=133416a8b9eaa7b84ce6b7144a737647183ff1e0;p=thirdparty%2Fsamba.git selftest/selftest.pl: we don't need to call Subunit::progress_pop() twice on error Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/selftest/selftest.pl b/selftest/selftest.pl index c54ea68cac2..ced13f24341 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -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) {