aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/pending/sh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/pending/sh.c b/toys/pending/sh.c
index 7096d135..06dff9cf 100644
--- a/toys/pending/sh.c
+++ b/toys/pending/sh.c
@@ -3085,6 +3085,7 @@ static void run_lines(void)
continue;
}
TT.ff->pl = TT.ff->pl->end;
+ pop_block();
dlist_add_nomalloc((void *)&pplist, (void *)pp);
// handle start of block in this process