summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/p_lcom_next.c2
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++;
}