summaryrefslogtreecommitdiffstats
path: root/src/s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 18:21:30 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 18:21:30 +0200
commit65e8b6f93476e2e973f46221f0d80d6c72cdbd7e (patch)
treeaba01064e5ead3260f5b8e2537cd3fd1a16c9767 /src/s_init.c
parentFixed unset not working (diff)
download42-minishell-65e8b6f93476e2e973f46221f0d80d6c72cdbd7e.tar.gz
42-minishell-65e8b6f93476e2e973f46221f0d80d6c72cdbd7e.tar.bz2
42-minishell-65e8b6f93476e2e973f46221f0d80d6c72cdbd7e.tar.xz
42-minishell-65e8b6f93476e2e973f46221f0d80d6c72cdbd7e.tar.zst
42-minishell-65e8b6f93476e2e973f46221f0d80d6c72cdbd7e.zip
Conditionnal jump fix
Diffstat (limited to 'src/s_init.c')
-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 ab64603..63861e6 100644
--- a/src/s_init.c
+++ b/src/s_init.c
@@ -143,6 +143,7 @@ t_msh
msh->curr = NULL;
msh->vars = NULL;
msh->cwd = set_cwd(msh);
+ msh->env_fork_tmp[0][0] = '\0';
inc_shlvl(msh);
return (msh);
}