hush: remove bogus 'else'
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
3996c942f2
commit
86c031783f
|
@ -610,7 +610,9 @@ static int run_pipe_real(struct p_context *ctx, struct pipe *pi)
|
|||
rcode = run_list_real(ctx, child->group);
|
||||
|
||||
return rcode;
|
||||
} else if (pi->num_progs == 1 && pi->progs[0].argv != NULL) {
|
||||
}
|
||||
|
||||
if (pi->num_progs == 1 && pi->progs[0].argv != NULL) {
|
||||
|
||||
for (i = 0; is_assignment(child->argv[i]); i++)
|
||||
{ /* nothing */ }
|
||||
|
|
Loading…
Reference in New Issue