From 33e2220924b9884b523c5c210491bc21903417b1 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 27 Nov 2016 10:56:34 +0100 Subject: [PATCH] setsid.2: Improve wording of text on calling setsid() after fork()+_exit() Signed-off-by: Michael Kerrisk --- man2/setsid.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/setsid.2 b/man2/setsid.2 index aef4376ec..766b61bcd 100644 --- a/man2/setsid.2 +++ b/man2/setsid.2 @@ -87,11 +87,11 @@ such a scenario would break the strict two-level hierarchy of sessions and process groups. In order to be sure that .BR setsid () -will succeed, +will succeed, call .BR fork (2) -and +and have the parent .BR _exit (2), -and have the child do +while the child (which by definition can't be a process group leader) calls .BR setsid (). If a session has a controlling terminal, and the