about summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/parse.c b/Src/parse.c
index 54543a642..beb88b451 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1687,8 +1687,7 @@ par_simple(int *complex, int nr)
 		sl = ecadd(0);
 		pl = ecadd(WCB_PIPE(WC_PIPE_END, 0));
 
-		par_cmd(&c);
-		if (!c) {
+		if (!par_cmd(&c)) {
 		    cmdpop();
 		    YYERROR(oecused);
 		}