summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-01-06 20:38:02 +0100
committerLennart Poettering <lennart@poettering.net>2011-01-06 20:38:02 +0100
commita6ff950e71ea665fff99740f7b3e0137d451a79e (patch)
tree502ff29d4c0d410285e54666571b1831061e6af0 /src/load-fragment.c
parent7fc942b29e7bdb9d6aa3123f53da6680edabd8f0 (diff)
execute: drop empty assignments from env blocks on execution but keep them around otherwise to make them visible
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index 334dd68146..261180d155 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -1399,7 +1399,7 @@ static int config_parse_env_file(
goto finish;
}
- t = strv_env_set(*env, u);
+ t = strv_append(*env, u);
free(u);
if (!t) {