dont setpgrp() for now as it breaks system() and that is more important than ctrl...
authorMike Frysinger <vapier@gentoo.org>
Mon, 26 Jun 2006 20:42:36 +0000 (20:42 -0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 26 Jun 2006 20:42:36 +0000 (20:42 -0000)
shell/msh.c

index a2d3864a3fac908202c00d6ffaa95635c696a3ed..5a9f2c7078b7810d1ffa98ed1031d5bd001e6387 100644 (file)
@@ -2970,10 +2970,6 @@ forkexec(REGISTER struct op *t, int *pin, int *pout, int act, char **wp)
        if (resetsig) {
                signal(SIGINT, SIG_DFL);
                signal(SIGQUIT, SIG_DFL);
-       } else {
-               /* put non-interactive processes into a different process group.
-                * we don't support jobs, but this is at least sane: see Bug 659 */
-               bb_setpgrp;
        }
 
        if (t->type == TPAREN)