summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 6b6c54f..fedb784 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1284,7 +1284,7 @@ static int run_pipe_real(struct pipe *pi)
int i;
int nextin, nextout;
int pipefds[2]; /* pipefds[0] is for reading */
- struct child_prog *child;
+ struct child_prog *child = NULL;
const struct built_in_command *x;
char *p;