diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-06 22:17:36 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-06 22:17:36 +0200 |
commit | 0944b3e39666f9ec14e23347bd17852a781a629c (patch) | |
tree | 63f348eca35b18af41698c0e9864cdbd13749cca /src | |
parent | qweqwe (diff) | |
download | 42-minishell-0944b3e39666f9ec14e23347bd17852a781a629c.tar.gz 42-minishell-0944b3e39666f9ec14e23347bd17852a781a629c.tar.bz2 42-minishell-0944b3e39666f9ec14e23347bd17852a781a629c.tar.xz 42-minishell-0944b3e39666f9ec14e23347bd17852a781a629c.tar.zst 42-minishell-0944b3e39666f9ec14e23347bd17852a781a629c.zip |
In progress
Diffstat (limited to 'src')
-rw-r--r-- | src/p_lcom_next.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/p_lcom_next.c b/src/p_lcom_next.c index dc834a8..16d8aac 100644 --- a/src/p_lcom_next.c +++ b/src/p_lcom_next.c @@ -60,7 +60,9 @@ char if (*ptr == '$' && u_is_not_escaped(word, ptr) == TRUE) { if ((word = p_subst_this_var(&ptr, (ptr - word), word, msh)) == NULL) + { return (NULL); + } } ptr++; } |