diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index d82be3d70..e636f5829 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -914,9 +914,10 @@ static int check_and_run_traps(int sig) } #if ENABLE_HUSH_JOB + /* After [v]fork, in child: do not restore tty pgrp on xfunc death */ #define disable_restore_tty_pgrp_on_exit() (die_sleep = 0) -/* After [v]fork, in parent: do not restore tty pgrp on xfunc death */ +/* After [v]fork, in parent: restore tty pgrp on xfunc death */ #define enable_restore_tty_pgrp_on_exit() (die_sleep = -1) /* Restores tty foreground process group, and exits. |