chiark / gitweb /
manager: split off path lookup logic into own .c file
[elogind.git] / src / load-fragment.c
index b679fab479a3e29a280a4c6a6bd604fa25780db8..79b0893addef64adcf7500a20fbbd3e68a933381 100644 (file)
@@ -1523,7 +1523,7 @@ static int load_from_path(Unit *u, const char *path) {
         } else  {
                 char **p;
 
-                STRV_FOREACH(p, u->meta.manager->unit_path) {
+                STRV_FOREACH(p, u->meta.manager->lookup_paths.unit_path) {
 
                         /* Instead of opening the path right away, we manually
                          * follow all symlinks and add their name to our unit