mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
dont setpgrp() for now as it breaks system() and that is more important than ctrl+c handling of background processes
This commit is contained in:
parent
ef10d52745
commit
42705abc28
@ -2970,10 +2970,6 @@ forkexec(REGISTER struct op *t, int *pin, int *pout, int act, char **wp)
|
|||||||
if (resetsig) {
|
if (resetsig) {
|
||||||
signal(SIGINT, SIG_DFL);
|
signal(SIGINT, SIG_DFL);
|
||||||
signal(SIGQUIT, 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)
|
if (t->type == TPAREN)
|
||||||
|
Loading…
Reference in New Issue
Block a user