chiark / gitweb /
core: Remove unnecessary typedef
[elogind.git] / src / core / execute.c
index ab508b16186dcc9b036591c8bcb2392296ef6c30..c363342e805ee4c083a8d83cf14acabdf2cc941c 100644 (file)
@@ -1770,6 +1770,8 @@ int exec_context_load_environment(const ExecContext *c, char ***l) {
                                 strv_free(r);
                                 return k;
                          }
+                        /* Log invalid environment variables with filename */
+                        p = strv_env_clean_log(p, pglob.gl_pathv[n]);
 
                         if (r == NULL)
                                 r = p;