diff options
author | Michael Adam <obnox@samba.org> | 2016-05-14 00:51:19 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2016-05-24 13:43:35 +0200 |
commit | de2bc193ad0a46518e0c34210eadddaa81648758 (patch) | |
tree | a667eb1586ca9f7b9e224cbc4351b83c1fb30af0 /selftest | |
parent | 98304a84b7d404a6ac675a7474c9b68ff076a90b (diff) | |
download | samba-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.pm | 3 |
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 { |