aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-07 13:29:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-07 13:29:27 +0000
commit25af86f73d29ee8b74f8776f4e1defe04cf7dcf1 (patch)
tree593031e574eee633316821f7b7e1581e14bcc78f /shell
parentaf07b7c5b6717a4609ea9c77ab6ca9008456a8b0 (diff)
downloadbusybox-25af86f73d29ee8b74f8776f4e1defe04cf7dcf1.tar.gz
hush: fix wrong comment
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c3
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.