summaryrefslogtreecommitdiff
path: root/src/journal/coredump.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-11-29 01:06:48 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-29 13:55:32 -0500
commit301af7e4853ad0281402f8d86f5a77c6cb7ce9f4 (patch)
treee62b158e25d7d367e4b81899035782b0c1d2125f /src/journal/coredump.c
parent396f9e2b327d702ea9502b80febf836283e19350 (diff)
coredump: Support coredump.conf.d directories in the usual search paths
Diffstat (limited to 'src/journal/coredump.c')
-rw-r--r--src/journal/coredump.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/journal/coredump.c b/src/journal/coredump.c
index d889ed1f8f..be45a684e5 100644
--- a/src/journal/coredump.c
+++ b/src/journal/coredump.c
@@ -120,10 +120,11 @@ static int parse_config(void) {
{}
};
- return config_parse(NULL, "/etc/systemd/coredump.conf", NULL,
- "Coredump\0",
- config_item_table_lookup, items,
- false, false, true, NULL);
+ return config_parse_many("/etc/systemd/coredump.conf",
+ CONF_DIRS_NULSTR("systemd/coredump.conf"),
+ "Coredump\0",
+ config_item_table_lookup, items,
+ false, NULL);
}
static int fix_acl(int fd, uid_t uid) {