hush: fix wrong comment
This commit is contained in:
1 parent
af07b7c5b6
commit
25af86f73d
1 file changed
+2
-1
+2
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user