aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-05 18:38:07 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-05 18:38:07 +0000
commitfd75648fc28fa662681d522410a6963ff85a3b43 (patch)
treed4361d46c99c980b9fca8a8646e0db1aaeca0cd2 /shell
parent577d503efe9a88b1748604bdf81760dbc9aaec28 (diff)
downloadbusybox-w32-fd75648fc28fa662681d522410a6963ff85a3b43.tar.gz
busybox-w32-fd75648fc28fa662681d522410a6963ff85a3b43.tar.bz2
busybox-w32-fd75648fc28fa662681d522410a6963ff85a3b43.zip
fix Bug 659 as reported by Robin Getz
git-svn-id: svn://busybox.net/trunk/busybox@15011 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/msh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/msh.c b/shell/msh.c
index b3bb06b28..4fe80fd75 100644
--- 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)
3026 if (resetsig) { 3026 if (resetsig) {
3027 signal(SIGINT, SIG_DFL); 3027 signal(SIGINT, SIG_DFL);
3028 signal(SIGQUIT, SIG_DFL); 3028 signal(SIGQUIT, SIG_DFL);
3029 } else {
3030 /* put non-interactive processes into a different process group.
3031 * we don't support jobs, but this is at least sane: see Bug 659 */
3032 setpgrp();
3029 } 3033 }
3030 3034
3031 if (t->type == TPAREN) 3035 if (t->type == TPAREN)