about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 1e2cb5e5a..ae13ba016 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -842,9 +842,6 @@ sublist_done:
 	    break;
 	code = *state->pc++;
     }
-    if (wc_code(code) == WC_END)
-	state->pc--;
-
     pline_level = old_pline_level;
     list_pipe = old_list_pipe;
     lineno = oldlineno;