diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-26 18:27:38 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-26 18:27:38 +0200 |
commit | 4e79c9227066b84632bafb3dda439f463c1e922b (patch) | |
tree | 5bf5662c5a8ab7529a7802e1235256d866fef233 /src/minishell.c | |
parent | Nice vars gathering (diff) | |
download | 42-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 '')
-rw-r--r-- | src/minishell.c | 2 |
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); |