summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-05-14 00:51:19 +0200
committerMichael Adam <obnox@samba.org>2016-05-24 13:43:35 +0200
commitde2bc193ad0a46518e0c34210eadddaa81648758 (patch)
treea667eb1586ca9f7b9e224cbc4351b83c1fb30af0 /selftest
parent98304a84b7d404a6ac675a7474c9b68ff076a90b (diff)
downloadsamba-de2bc193ad0a46518e0c34210eadddaa81648758.tar.gz
selftest: systematize formatting of if/elseif/else indentation in cleanup_child
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
Diffstat (limited to 'selftest')
-rw-r--r--selftest/target/Samba.pm3
1 files changed, 1 insertions, 2 deletions
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 {