commit | a6ff950e71ea665fff99740f7b3e0137d451a79e | [log] [tgz] |
---|---|---|
author | Lennart Poettering <lennart@poettering.net> | Thu Jan 06 20:38:02 2011 +0100 |
committer | Lennart Poettering <lennart@poettering.net> | Thu Jan 06 20:38:02 2011 +0100 |
tree | 502ff29d4c0d410285e54666571b1831061e6af0 | |
parent | 7fc942b29e7bdb9d6aa3123f53da6680edabd8f0 [diff] [blame] |
execute: drop empty assignments from env blocks on execution but keep them around otherwise to make them visible
diff --git a/src/load-fragment.c b/src/load-fragment.c index 334dd68..261180d 100644 --- a/src/load-fragment.c +++ b/src/load-fragment.c
@@ -1399,7 +1399,7 @@ goto finish; } - t = strv_env_set(*env, u); + t = strv_append(*env, u); free(u); if (!t) {