diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-26 19:43:38 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-26 19:43:38 +0200 |
commit | cd0db603de6660c4f9388a5f69e36996788ed625 (patch) | |
tree | 91eaa42a7c52635bbeed65e20bade9ab12380b50 /src/s_com.c | |
parent | In progress (diff) | |
download | 42-minishell-cd0db603de6660c4f9388a5f69e36996788ed625.tar.gz 42-minishell-cd0db603de6660c4f9388a5f69e36996788ed625.tar.bz2 42-minishell-cd0db603de6660c4f9388a5f69e36996788ed625.tar.xz 42-minishell-cd0db603de6660c4f9388a5f69e36996788ed625.tar.zst 42-minishell-cd0db603de6660c4f9388a5f69e36996788ed625.zip |
Fixed qwe>~/qweqwe
Diffstat (limited to '')
-rw-r--r-- | src/s_com.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c index 527829d..4f06c84 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -109,7 +109,7 @@ t_com com->rdr = NULL; nword[0] = C_NUL; ft_strlcpy(nword, word, ARG_MAX); - if (p_redirs(nword, &com) != 0) + if (p_redirs(nword, &com, msh) != 0) return (NULL); if (msh->alias != NULL) { |