selftest: systematize formatting of if/elseif/else indentation in cleanup_child
authorMichael Adam <obnox@samba.org>
Fri, 13 May 2016 22:51:19 +0000 (00:51 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 24 May 2016 11:43:35 +0000 (13:43 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Tue May 24 13:43:35 CEST 2016 on sn-devel-144

selftest/target/Samba.pm

index acdc3623a56d85a7d969ddc88a0875d1b9f8d668..bb33fb7bcb522431281ebcb6a962b6af4ff508ea 100644 (file)
@@ -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 {