summaryrefslogtreecommitdiffstats
path: root/src/s_init.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/s_init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/s_init.c b/src/s_init.c
index cd03e72..54be62f 100644
--- a/src/s_init.c
+++ b/src/s_init.c
@@ -93,9 +93,6 @@ t_msh
init_buptr(msh);
msh->curr = NULL;
msh->vars = NULL;
- msh->cwd = NULL;
- if ((msh->cwd = u_get_var_value("$PWD", msh)) == NULL)
- msh->cwd = getcwd(NULL, 0);
inc_shlvl(msh);
return (msh);
}