From 598c360d22fa9b3c863f74bb6280472fd805fa0d Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 17 Aug 2020 18:12:18 +0200 Subject: Fixed unset not working --- src/s_com.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/s_com.c') diff --git a/src/s_com.c b/src/s_com.c index 1bde96c..550616c 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -117,6 +117,8 @@ t_com return (NULL); if ((words = p_subst_vars(words, msh)) == NULL) return (NULL); + 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); -- cgit v1.2.3