chiark / gitweb /
Fix compilation issue; s/-NOENT/-ENOENT/
[elogind.git] / load-dropin.c
index 89e142f9a8f11d77f15c0288e34afd2a7df37d28..2101e330046711706971155ec6d580ac18ababec 100644 (file)
@@ -52,7 +52,7 @@ static int iterate_dir(Unit *u, const char *path) {
                         goto finish;
                 }
 
-                r = unit_add_dependency_by_name(u, UNIT_WANTS, de->d_name, f);
+                r = unit_add_dependency_by_name(u, UNIT_WANTS, de->d_name, f, true);
                 free(f);
 
                 if (r < 0)