summaryrefslogtreecommitdiffstats
path: root/src/minishell.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-26 18:27:38 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-26 18:27:38 +0200
commit4e79c9227066b84632bafb3dda439f463c1e922b (patch)
tree5bf5662c5a8ab7529a7802e1235256d866fef233 /src/minishell.c
parentNice vars gathering (diff)
download42-minishell-4e79c9227066b84632bafb3dda439f463c1e922b.tar.gz
42-minishell-4e79c9227066b84632bafb3dda439f463c1e922b.tar.bz2
42-minishell-4e79c9227066b84632bafb3dda439f463c1e922b.tar.xz
42-minishell-4e79c9227066b84632bafb3dda439f463c1e922b.tar.zst
42-minishell-4e79c9227066b84632bafb3dda439f463c1e922b.zip
Got special variables running
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);