summaryrefslogtreecommitdiffstats
path: root/src/s_com.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 18:11:56 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 18:11:56 +0200
commit3f726e2433438176a6b7f73df7d6bf51a185c5b2 (patch)
tree3aec31db54442d72feab07c2aaa57740e30c3ee3 /src/s_com.c
parentIn progress (diff)
download42-minishell-3f726e2433438176a6b7f73df7d6bf51a185c5b2.tar.gz
42-minishell-3f726e2433438176a6b7f73df7d6bf51a185c5b2.tar.bz2
42-minishell-3f726e2433438176a6b7f73df7d6bf51a185c5b2.tar.xz
42-minishell-3f726e2433438176a6b7f73df7d6bf51a185c5b2.tar.zst
42-minishell-3f726e2433438176a6b7f73df7d6bf51a185c5b2.zip
Fix
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)