]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal-remote/journal-upload.c
conf: replace config_parse_many_nulstr() with config_parse_config_file()
[thirdparty/systemd.git] / src / journal-remote / journal-upload.c
index fc55f13bab956337095619280759c2a4405b9e12..e42516c7990edc08c0b6fb96596ae5fa5fcf3f94 100644 (file)
@@ -568,14 +568,9 @@ static int parse_config(void) {
                 {}
         };
 
-        return config_parse_many_nulstr(
-                        PKGSYSCONFDIR "/journal-upload.conf",
-                        CONF_PATHS_NULSTR("systemd/journal-upload.conf.d"),
-                        "Upload\0",
-                        config_item_table_lookup, items,
-                        CONFIG_PARSE_WARN,
-                        NULL,
-                        NULL);
+        return config_parse_config_file("journal-upload.conf", "Upload\0",
+                                        config_item_table_lookup, items,
+                                        CONFIG_PARSE_WARN, NULL);
 }
 
 static int help(void) {