chiark / gitweb /
shared: rework env file reader
[elogind.git] / src / core / execute.c
index 91815b838e374ab5cea304f2872012137f4d1a63..2c13d1f9f60e8a8c9d7f7e0e15844f33bebc7d2c 100644 (file)
@@ -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;