diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-03 19:04:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-03 20:12:57 +0200 |
commit | f73141d7657b3f60b8669bc8386413d8a8a372c6 (patch) | |
tree | a2fc0917431fa8498c1c0ac2ae9c7c8ac4f00163 /src/core/execute.c | |
parent | 7f602784de4fd378120e8ebfe6d830862b9cae03 (diff) |
shared: rework env file reader
Implement this with a proper state machine, so that newlines and
escaped chars can appear in string assignments. This should bring the
parser much closer to shell.
Diffstat (limited to 'src/core/execute.c')
-rw-r--r-- | src/core/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c index 91815b838e..2c13d1f9f6 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1741,7 +1741,7 @@ int exec_context_load_environment(const ExecContext *c, char ***l) { return -EINVAL; } for (n = 0; n < count; n++) { - k = load_env_file(pglob.gl_pathv[n], &p); + k = load_env_file(pglob.gl_pathv[n], NULL, &p); if (k < 0) { if (ignore) continue; |