diff options
Diffstat (limited to 'src/s_com.c')
| -rw-r--r-- | src/s_com.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c index 550616c..75a5040 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -14,6 +14,7 @@  #include <stdlib.h>  #include "f_fail.h" +#include "p_args.h"  #include "p_lcom.h"  #include "p_lcom_next.h"  #include "s_struct.h"	 @@ -113,7 +114,7 @@ t_com  	com->env_fork = NULL;  	if (get_redir(word, &com) != 0)  		return (NULL); -	if ((words = p_subst_args(word, com->redir)) == NULL) +	if ((words = p_split_args(word, com->redir)) == NULL)  		return (NULL);  	if ((words = p_subst_vars(words, msh)) == NULL)  		return (NULL);  | 
