Commit 50483512 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

mount: make sure network mounts are ordered after network.target

parent 4dba533a
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment