projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee3e57d
)
fix Bug 659 as reported by Robin Getz
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 5 May 2006 18:39:12 +0000
(18:39 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 5 May 2006 18:39:12 +0000
(18:39 -0000)
shell/msh.c
patch
|
blob
|
history
diff --git
a/shell/msh.c
b/shell/msh.c
index b3bb06b28fb45df90430ad8dea2bf35550754c99..4fe80fd75cf3f6a952187f795049e36ba10b65ff 100644
(file)
--- a/
shell/msh.c
+++ b/
shell/msh.c
@@
-3026,6
+3026,10
@@
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 */
+ setpgrp();
}
if (t->type == TPAREN)