summaryrefslogtreecommitdiff
path: root/shell/lash.c
diff options
context:
space:
mode:
authorEric Andersen2004-03-12 22:08:42 +0000
committerEric Andersen2004-03-12 22:08:42 +0000
commitd20d37559f6a3e9abd8694d4a7375467e39eeb5e (patch)
treec8091fd99233b9bce3115749b3bb5d13a2f976b8 /shell/lash.c
parent3cac0c7d7ff9bade9aaeff6e3144dcc2fed903b3 (diff)
downloadbusybox-d20d37559f6a3e9abd8694d4a7375467e39eeb5e.zip
busybox-d20d37559f6a3e9abd8694d4a7375467e39eeb5e.tar.gz
Fix some goofy formatting
Diffstat (limited to 'shell/lash.c')
-rw-r--r--shell/lash.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 30cbe41..e4b1b12 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;