From b69ff8adf6956a840d1dc8923bc2ebb69be3e1af Mon Sep 17 00:00:00 2001 From: andersen Date: Tue, 26 Jun 2001 23:16:31 +0000 Subject: Explicitly call setsid() git-svn-id: svn://busybox.net/trunk/busybox@2915 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/hush.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index f70074f14..34dc277b5 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -2555,6 +2555,7 @@ static void setup_job_control() signal(SIGCHLD, sigchld_handler); /* Put ourselves in our own process group. */ + setsid(); shell_pgrp = getpid (); setpgid (shell_pgrp, shell_pgrp); -- cgit v1.2.3-55-g6feb