diff options
-rw-r--r-- | shell/lash.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/lash.c b/shell/lash.c index 30cbe416e..e4b1b129f 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -1458,10 +1458,9 @@ static int busy_loop(FILE * input) | |||
1458 | int inbg; | 1458 | int inbg; |
1459 | int status; | 1459 | int status; |
1460 | #ifdef CONFIG_LASH_JOB_CONTROL | 1460 | #ifdef CONFIG_LASH_JOB_CONTROL |
1461 | pid_t parent_pgrp; | 1461 | pid_t parent_pgrp; |
1462 | 1462 | /* save current owner of TTY so we can restore it on exit */ | |
1463 | /* save current owner of TTY so we can restore it on exit */ | 1463 | parent_pgrp = tcgetpgrp(shell_terminal); |
1464 | parent_pgrp = tcgetpgrp(shell_terminal); | ||
1465 | #endif | 1464 | #endif |
1466 | newjob.job_list = &job_list; | 1465 | newjob.job_list = &job_list; |
1467 | newjob.job_context = DEFAULT_CONTEXT; | 1466 | newjob.job_context = DEFAULT_CONTEXT; |