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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c
index b899555..28b460f 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -121,7 +121,7 @@ t_com
{
ret = p_subst_alias(nword, TRUE, msh);
while (ret != 0)
- ret = p_subst_alias(nword, TRUE, msh);
+ ret = p_subst_alias(nword, FALSE, msh);
}
p_subst_vars(nword, msh);
if ((words = p_split_args(nword, com->redir)) == NULL)