summaryrefslogtreecommitdiffstats
path: root/sys-utils/setsid.1
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/setsid.1')
-rw-r--r--sys-utils/setsid.18
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-utils/setsid.1 b/sys-utils/setsid.1
index 61b13ce1d..64f055571 100644
--- a/sys-utils/setsid.1
+++ b/sys-utils/setsid.1
@@ -12,13 +12,17 @@ setsid \- run a program in a new session
.B setsid
runs a program in a new session. The command calls
.BR fork (2)
-if already a process group leader. Otherwise, it executes a program in the
-current process.
+if already a process group leader. Otherwise, it executes a program in the
+current process. This default behavior is possible to override by
+the \fB\-\-fork\fR option.
.SH OPTIONS
.TP
.BR \-c , " \-\-ctty"
Set the controlling terminal to the current one.
.TP
+.BR \-f , " \-\-fork"
+Always create a new process.
+.TP
.BR \-w , " \-\-wait"
Wait for the execution of the program to end, and return the exit value of
this program as the return value of