diff options
Diffstat (limited to 'src/s_com.c')
| -rw-r--r-- | src/s_com.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/s_com.c b/src/s_com.c index 95f2d94..ee55c58 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -96,8 +96,7 @@ void  }  t_com -	*s_com_new(char word[], -			t_msh *msh) +	*s_com_new(char word[], t_msh *msh)  {  	t_com	*com;  	char	**words; @@ -114,6 +113,7 @@ t_com  		return (NULL);  	if ((word = p_subst_vars(word, msh)) == NULL)  		return (NULL); +	msh->curr->lblock = word;  	if ((words = p_split_args(word, com->redir)) == NULL)  		return (NULL);  	if ((words = p_subst_home(words, msh)) == NULL) | 
