summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-25 13:47:47 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-25 13:47:47 +0200
commit97cf2a980520ce6a58e58febc665227ae945ab06 (patch)
tree00d7f6465ddc3e10d7a2da0e5415ee92d30a3614 /common
parent21281ac59a6ca5d8368cc4b5412792f383bbb2a9 (diff)
downloadbarebox-97cf2a980520ce6a58e58febc665227ae945ab06.tar.gz
barebox-97cf2a980520ce6a58e58febc665227ae945ab06.tar.xz
fix indention
Diffstat (limited to 'common')
-rw-r--r--common/hush.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/hush.c b/common/hush.c
index 0dd406eaed..1d55e5b4d4 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -509,8 +509,9 @@ static int run_pipe_real(struct pipe *pi)
* Builtins within pipes have to fork anyway, and are handled in
* pseudo_exec. "echo foo | read bar" doesn't work on bash, either.
*/
- if (pi->num_progs == 1) child = & (pi->progs[0]);
- if (pi->num_progs == 1 && child->group) {
+ if (pi->num_progs == 1)
+ child = & (pi->progs[0]);
+ if (pi->num_progs == 1 && child->group) {
int rcode;
debug_printf("non-subshell grouping\n");
rcode = run_list_real(child->group);