summaryrefslogtreecommitdiffstats
path: root/src/s_com.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/s_com.c2
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)
{