summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-21 13:32:18 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-21 13:32:18 +0100
commit50483512b901aa216bc12bbe12dc99c1963d79fb (patch)
tree3adc4d34b197f56992a74fc0d8d504013797385c
parent4dba533a137486719fb385c45fc2ff75593fdf53 (diff)
mount: make sure network mounts are ordered after network.target
-rw-r--r--src/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount.c b/src/mount.c
index 102d88b6e0..88b54bbb29 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -306,7 +306,7 @@ static int mount_add_target_links(Mount *m) {
return r;
if (after)
- if ((r = unit_add_dependency_by_name(tu, UNIT_AFTER, after, NULL, true)) < 0)
+ if ((r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, after, NULL, true)) < 0)
return r;
if (automount && m->meta.manager->running_as == MANAGER_SYSTEM) {