summaryrefslogtreecommitdiff
path: root/src/login/logind-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/logind-core.c')
-rw-r--r--src/login/logind-core.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/login/logind-core.c b/src/login/logind-core.c
index 7d4ff6c98b..618850feba 100644
--- a/src/login/logind-core.c
+++ b/src/login/logind-core.c
@@ -78,13 +78,9 @@ void manager_reset_config(Manager *m) {
int manager_parse_config_file(Manager *m) {
assert(m);
- return config_parse_many_nulstr(
- PKGSYSCONFDIR "/logind.conf",
- CONF_PATHS_NULSTR("systemd/logind.conf.d"),
- "Login\0",
- config_item_perf_lookup, logind_gperf_lookup,
- CONFIG_PARSE_WARN, m,
- NULL);
+ return config_parse_config_file("logind.conf", "Login\0",
+ config_item_perf_lookup, logind_gperf_lookup,
+ CONFIG_PARSE_WARN, m);
}
int manager_add_device(Manager *m, const char *sysfs, bool master, Device **ret_device) {