diff options
author | Daniel Kahn Gillmor | 2013-07-22 13:56:47 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-01 11:31:47 +0200 |
commit | 0dde19974bcbb07ce977992ab04b7dfa752d99b3 (patch) | |
tree | 2adc7d4c4c8cda9c3aff4cdaf6170ec369cb97e0 /sys-utils/setsid.1 | |
parent | libmount: add missing declarations to libmount.h.in and documentation (diff) | |
download | kernel-qcow2-util-linux-0dde19974bcbb07ce977992ab04b7dfa752d99b3.tar.gz kernel-qcow2-util-linux-0dde19974bcbb07ce977992ab04b7dfa752d99b3.tar.xz kernel-qcow2-util-linux-0dde19974bcbb07ce977992ab04b7dfa752d99b3.zip |
setsid: add an option to wait child return value
This change proposed in util-linux maillist by Damien Wyart in behalf of
Daniel Kahn Gillmor. Sami Kerola changed the patch to use option rather
than makign the default behavior of the command to change.
Reported-by: Damien Wyart <damien.wyart@gmail.com>
Reference: http://markmail.org/message/2z6qh5auk7wjie3l
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495881
CC: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/setsid.1')
-rw-r--r-- | sys-utils/setsid.1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-utils/setsid.1 b/sys-utils/setsid.1 index eff794858..da8d648e7 100644 --- a/sys-utils/setsid.1 +++ b/sys-utils/setsid.1 @@ -15,6 +15,11 @@ runs a program in a new session. .TP \fB\-c\fP, \fB\-\-ctty\fP Set the controlling terminal to the current one. +.TP +\fB\-w\fP, \fB\-\-wait\fP +Wait the execution of the program to end, and return the exit value of +the child as return value of the +.BR setsid . .SH "SEE ALSO" .BR setsid (2) .SH AUTHOR |