summaryrefslogtreecommitdiffstats
path: root/src/s_com.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_com.c')
-rw-r--r--src/s_com.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c
index 4d78573..b85905e 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -116,7 +116,8 @@ t_com
ft_strlcpy(nword, word, ARG_MAX);
if (p_get_redir(nword, &com) != 0)
return (NULL);
- p_subst_alias(nword, msh);
+ /* if (msh->alias != NULL) */
+ p_subst_alias(nword, msh);
p_subst_vars(nword, msh);
if ((words = p_split_args(nword, com->redir)) == NULL)
return (NULL);