]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/load-dropin.h
core: when loading .wants and .requires, follow the same logic as .d conf dropins
[thirdparty/systemd.git] / src / core / load-dropin.h
index 319827dfb99803036495e11d97dd252fcc874b0f..5828a223cee7c2e40a0a024f934cafa8448c416b 100644 (file)
 /* Read service data supplementary drop-in directories */
 
 static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
-        return unit_file_find_dropin_paths(NULL,
-                                           u->manager->lookup_paths.search_path,
-                                           u->manager->unit_path_cache,
-                                           u->names,
-                                           paths);
+        return unit_file_find_dropin_conf_paths(NULL,
+                                                u->manager->lookup_paths.search_path,
+                                                u->manager->unit_path_cache,
+                                                u->names,
+                                                paths);
 }
 
 int unit_load_dropin(Unit *u);