summaryrefslogtreecommitdiffstats
path: root/src/minishell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/minishell.c')
-rw-r--r--src/minishell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minishell.c b/src/minishell.c
index 36ba25a..f5216a8 100644
--- a/src/minishell.c
+++ b/src/minishell.c
@@ -31,7 +31,7 @@ int
/* TODO: increment $SHLVL */
/* TODO: handle general variables | $var */
- if (!(msh = ft_init_msh(envp)))
+ if (!(msh = ft_init_msh(argv, envp)))
{
ft_dprintf(2, "%s\n", strerror(errno));
return (FT_RET_ALLOC);