From 86c031783ffa54513785b4b69fd506645035332e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sun, 29 Apr 2012 11:40:55 +0200 Subject: hush: remove bogus 'else' Signed-off-by: Sascha Hauer --- common/hush.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/hush.c') diff --git a/common/hush.c b/common/hush.c index 017f96df43..4e78577bc8 100644 --- a/common/hush.c +++ b/common/hush.c @@ -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 */ } -- cgit v1.2.3