aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index ffc4685d6..e83d49a86 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2007,6 +2007,7 @@ static struct pipe *new_pipe(void) {
pi->progs = NULL;
pi->next = NULL;
pi->followup = 0; /* invalid */
+ pi->r_mode = RES_NONE;
return pi;
}