]> err.no Git - util-linux/commit
script: preserve child exit status
authorKarel Zak <kzak@redhat.com>
Tue, 27 Apr 2010 10:11:31 +0000 (12:11 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Apr 2010 10:11:31 +0000 (12:11 +0200)
commitf1014a4f33b67ccd15baff4d07fbb09f5660028b
tree1028e0916c0e9dacde8a9bf776015cd72a0289c5
parent9f1d967639fb298fcb4cc0958da3fc9edf8abdad
script: preserve child exit status

The patch also removes unnecessary detection of child process
existence (by kill()). This code was replaces with SIGCHLD
hold/release around fork().

Based on the patch from therealneworld@gmail.com.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/script.1
misc-utils/script.c