summaryrefslogtreecommitdiffstats
path: root/src/s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 18:50:11 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 18:50:11 +0200
commit4dd10e6f4de22446ea84d7b194d2a18cb6e43c6c (patch)
tree2768d27ebe01fa5e74b4e6d14c5defdfd501a1d6 /src/s_init.c
parentstatic hist, words fix (diff)
download42-minishell-4dd10e6f4de22446ea84d7b194d2a18cb6e43c6c.tar.gz
42-minishell-4dd10e6f4de22446ea84d7b194d2a18cb6e43c6c.tar.bz2
42-minishell-4dd10e6f4de22446ea84d7b194d2a18cb6e43c6c.tar.xz
42-minishell-4dd10e6f4de22446ea84d7b194d2a18cb6e43c6c.tar.zst
42-minishell-4dd10e6f4de22446ea84d7b194d2a18cb6e43c6c.zip
Names
Diffstat (limited to 'src/s_init.c')
-rw-r--r--src/s_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s_init.c b/src/s_init.c
index 9ef856f..cfe2eeb 100644
--- a/src/s_init.c
+++ b/src/s_init.c
@@ -174,6 +174,8 @@ t_msh
msh->ret = 0;
init_buptr(msh);
msh->curr = NULL;
+ msh->com = NULL;
+ msh->pipes = NULL;
msh->vars = NULL;
set_cwd(cwd, msh);
if ((msh->cwd = ft_strdup(cwd)) == NULL)