aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-12 22:08:42 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-12 22:08:42 +0000
commitd20d37559f6a3e9abd8694d4a7375467e39eeb5e (patch)
treec8091fd99233b9bce3115749b3bb5d13a2f976b8 /shell
parent3cac0c7d7ff9bade9aaeff6e3144dcc2fed903b3 (diff)
downloadbusybox-d20d37559f6a3e9abd8694d4a7375467e39eeb5e.tar.gz
Fix some goofy formatting
Diffstat (limited to 'shell')
-rw-r--r--shell/lash.c7
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)
int inbg;
int status;
#ifdef CONFIG_LASH_JOB_CONTROL
- pid_t parent_pgrp;
-
- /* save current owner of TTY so we can restore it on exit */
- parent_pgrp = tcgetpgrp(shell_terminal);
+ pid_t parent_pgrp;
+ /* save current owner of TTY so we can restore it on exit */
+ parent_pgrp = tcgetpgrp(shell_terminal);
#endif
newjob.job_list = &job_list;
newjob.job_context = DEFAULT_CONTEXT;