9
0
Fork 0

fix indention

This commit is contained in:
Sascha Hauer 2007-09-25 13:47:47 +02:00
parent 21281ac59a
commit 97cf2a9805
1 changed files with 3 additions and 2 deletions

View File

@ -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);