From: Michael Adam Date: Fri, 13 May 2016 22:51:19 +0000 (+0200) Subject: selftest: systematize formatting of if/elseif/else indentation in cleanup_child X-Git-Tag: tdb-1.3.10~1073 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de2bc193ad0a46518e0c34210eadddaa81648758;p=thirdparty%2Fsamba.git selftest: systematize formatting of if/elseif/else indentation in cleanup_child Signed-off-by: Michael Adam Reviewed-by: Andreas Schneider Autobuild-User(master): Michael Adam Autobuild-Date(master): Tue May 24 13:43:35 CEST 2016 on sn-devel-144 --- diff --git a/selftest/target/Samba.pm b/selftest/target/Samba.pm index acdc3623a56..bb33fb7bcb5 100644 --- a/selftest/target/Samba.pm +++ b/selftest/target/Samba.pm @@ -325,8 +325,7 @@ sub cleanup_child($$) } elsif ($childpid < 0) { printf STDERR "%s child process %d isn't here any more\n", $name, $pid; return $childpid; - } - elsif ($? & 127) { + } elsif ($? & 127) { printf STDERR "%s child process %d, died with signal %d, %s coredump\n", $name, $childpid, ($? & 127), ($? & 128) ? 'with' : 'without'; } else {