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 5bdb36a..0f206c4 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -118,9 +118,9 @@ t_com
return (NULL);
if ((words = p_split_args(word, com->redir)) == NULL)
return (NULL);
+ words = p_check_args_equals(words, msh);
if ((words = p_subst_home(words, msh)) == NULL)
return (NULL);
- words = p_check_args_equals(words, msh);
if (msh->env_fork_tmp[0][0] != '\0')
com_cpy_env_fork(&com, msh);
if (fill_com(words, &com) < 0)