summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/configimpl.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index 9cea61b..57e7c78 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -1102,7 +1102,7 @@ static void substEnvVarsInStrList(StringVector &sl)
}
else // just goto the next element in the list
{
- results.push_back(result.data());
+ if (!result.isEmpty()) results.push_back(result.data());
}
}
sl = results;