diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-26 20:42:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-26 20:42:36 +0000 |
commit | 42705abc2840b5472bf2c7846d83c75cfc695c1a (patch) | |
tree | 972d919d4fe3952d5bba9d9c0a73c6dde31d1810 | |
parent | ef10d52745a72f524e36edc375a6a05d3365ede4 (diff) | |
download | busybox-w32-42705abc2840b5472bf2c7846d83c75cfc695c1a.tar.gz busybox-w32-42705abc2840b5472bf2c7846d83c75cfc695c1a.tar.bz2 busybox-w32-42705abc2840b5472bf2c7846d83c75cfc695c1a.zip |
dont setpgrp() for now as it breaks system() and that is more important than ctrl+c handling of background processes
-rw-r--r-- | shell/msh.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/shell/msh.c b/shell/msh.c index a2d3864a3..5a9f2c707 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -2970,10 +2970,6 @@ forkexec(REGISTER struct op *t, int *pin, int *pout, int act, char **wp) | |||
2970 | if (resetsig) { | 2970 | if (resetsig) { |
2971 | signal(SIGINT, SIG_DFL); | 2971 | signal(SIGINT, SIG_DFL); |
2972 | signal(SIGQUIT, SIG_DFL); | 2972 | signal(SIGQUIT, SIG_DFL); |
2973 | } else { | ||
2974 | /* put non-interactive processes into a different process group. | ||
2975 | * we don't support jobs, but this is at least sane: see Bug 659 */ | ||
2976 | bb_setpgrp; | ||
2977 | } | 2973 | } |
2978 | 2974 | ||
2979 | if (t->type == TPAREN) | 2975 | if (t->type == TPAREN) |