summaryrefslogtreecommitdiff
path: root/src/coredump/coredump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coredump/coredump.c')
-rw-r--r--src/coredump/coredump.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c
index d5d1f49d08..e715fd232b 100644
--- a/src/coredump/coredump.c
+++ b/src/coredump/coredump.c
@@ -171,14 +171,9 @@ static int parse_config(void) {
{}
};
- return config_parse_many_nulstr(
- PKGSYSCONFDIR "/coredump.conf",
- CONF_PATHS_NULSTR("systemd/coredump.conf.d"),
- "Coredump\0",
- config_item_table_lookup, items,
- CONFIG_PARSE_WARN,
- NULL,
- NULL);
+ return config_parse_config_file("coredump.conf", "Coredump\0",
+ config_item_table_lookup, items,
+ CONFIG_PARSE_WARN, NULL);
}
static uint64_t storage_size_max(void) {