summaryrefslogtreecommitdiffstats
path: root/src/s_init.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/s_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s_init.c b/src/s_init.c
index 58f0cca..f8037b9 100644
--- a/src/s_init.c
+++ b/src/s_init.c
@@ -171,6 +171,7 @@ t_msh
return (NULL);
msh->ret = 0;
init_buptr(msh);
+ msh->fd = 0;
msh->curr = NULL;
msh->com = NULL;
msh->pipes = NULL;