summaryrefslogtreecommitdiffstats
path: root/src/pstore
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-03-08 08:25:07 +0100
committerGitHub <noreply@github.com>2024-03-08 08:25:07 +0100
commitec596fe34e731fa8c1772b8c1e3a7762be0f4665 (patch)
tree33fe53d931e3f5fa74fc1e054226945b90fbb907 /src/pstore
parentresolved: don't cache NXDOMAIN for SUDN resolver.arpa (diff)
parentshared/conf-parser: add two more annotations (diff)
downloadsystemd-ec596fe34e731fa8c1772b8c1e3a7762be0f4665.tar.xz
systemd-ec596fe34e731fa8c1772b8c1e3a7762be0f4665.zip
Merge pull request #30480 from keszybz/kernel-install-more-paths
Read kernel-install config from /run/kernel too
Diffstat (limited to 'src/pstore')
-rw-r--r--src/pstore/pstore.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pstore/pstore.c b/src/pstore/pstore.c
index 835348f90e..e2dfc4d1a1 100644
--- a/src/pstore/pstore.c
+++ b/src/pstore/pstore.c
@@ -77,9 +77,12 @@ static int parse_config(void) {
{}
};
- return config_parse_config_file("pstore.conf", "PStore\0",
- config_item_table_lookup, items,
- CONFIG_PARSE_WARN, NULL);
+ return config_parse_standard_file_with_dropins(
+ "systemd/pstore.conf",
+ "PStore\0",
+ config_item_table_lookup, items,
+ CONFIG_PARSE_WARN,
+ /* userdata= */ NULL);
}
/* File list handling - PStoreEntry is the struct and