From 50483512b901aa216bc12bbe12dc99c1963d79fb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 21 Feb 2011 13:32:18 +0100 Subject: [PATCH] mount: make sure network mounts are ordered after network.target --- src/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount.c b/src/mount.c index 102d88b6..88b54bbb 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) { -- 2.39.5