summaryrefslogtreecommitdiffstats
path: root/src/s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-18 19:27:57 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-18 19:27:57 +0200
commitc4617f7a2499bd81c49963291688977e3153d00f (patch)
tree75eb5c32f3d0b136f2f823217e0ee177b2fc2c94 /src/s_init.c
parentHUGE pain in the ass finally over (diff)
download42-minishell-c4617f7a2499bd81c49963291688977e3153d00f.tar.gz
42-minishell-c4617f7a2499bd81c49963291688977e3153d00f.tar.bz2
42-minishell-c4617f7a2499bd81c49963291688977e3153d00f.tar.xz
42-minishell-c4617f7a2499bd81c49963291688977e3153d00f.tar.zst
42-minishell-c4617f7a2499bd81c49963291688977e3153d00f.zip
prompt rice
Diffstat (limited to '')
-rw-r--r--src/s_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/s_init.c b/src/s_init.c
index 63861e6..7b36653 100644
--- a/src/s_init.c
+++ b/src/s_init.c
@@ -130,8 +130,6 @@ t_msh
if (!(msh = (t_msh*)malloc(sizeof(t_msh))))
return (NULL);
- if (!(msh->ps_one = ft_strdup(FT_PS_ONE)))
- return (NULL);
if (!(msh->shname = ft_strdup(argv[0])))
return (NULL);
/* TODO: shname: care about "./", try with symlinks */