From f2924d712bfb49037763f232e0132d78334f4219 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 4 Aug 2020 17:54:15 +0200 Subject: FeelsGoodMan --- src/s_init.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/s_init.c') 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); } -- cgit v1.2.3