chiark / gitweb /
Let config_parse open file where applicable
[elogind.git] / src / journal / coredump.c
index 4ac1a41299af2e12292574c7c0b799f53df31580..182c2b1bad1e0f31d211fa99160067c00b23bc41 100644 (file)
@@ -114,16 +114,10 @@ static int parse_config(void) {
                 {}
         };
 
-        return config_parse(
-                        NULL,
-                        "/etc/systemd/coredump.conf",
-                        NULL,
-                        "Coredump\0",
-                        config_item_table_lookup,
-                        items,
-                        false,
-                        false,
-                        NULL);
+        return config_parse(NULL, "/etc/systemd/coredump.conf", NULL,
+                            "Coredump\0",
+                            config_item_table_lookup, items,
+                            false, false, true, NULL);
 }
 
 static int fix_acl(int fd, uid_t uid) {