[systemd-devel] [PATCH 2/7] mount: don't pull in network.target, just order after it

Tom Gundersen teg at jklm.no
Fri Aug 23 00:09:29 PDT 2013


---
 src/core/mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/mount.c b/src/core/mount.c
index c7d29b0..7838e60 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -476,7 +476,7 @@ static int mount_add_default_dependencies(Mount *m) {
         }
 
         if (online) {
-                r = unit_add_two_dependencies_by_name(UNIT(m), UNIT_WANTS, UNIT_AFTER, online, NULL, true);
+                r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, online, NULL, true);
                 if (r < 0)
                         return r;
         }
-- 
1.8.3.4



More information about the systemd-devel mailing list