diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-21 01:51:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-21 01:51:55 +0200 |
commit | 8e4d105ddfd53fa146e03cee9d6fcc2e932975ac (patch) | |
tree | 9047f53a380584f52e6ce93a6e240f48f1162dc5 /src/mount.c | |
parent | 6309077509a8221b1b298ba9dd05143908f9939c (diff) |
mount: don't create depdency for device node of root fs, since it is always there
Diffstat (limited to 'src/mount.c')
-rw-r--r-- | src/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount.c b/src/mount.c index ac33787e61..b667ae52c9 100644 --- a/src/mount.c +++ b/src/mount.c @@ -361,7 +361,7 @@ static int mount_load(Unit *u) { else if (m->from_proc_self_mountinfo && m->parameters_proc_self_mountinfo.what) what = m->parameters_proc_self_mountinfo.what; - if (what) + if (what && !path_equal(m->where, "/")) if ((r = unit_add_node_link(u, what, u->meta.manager->running_as == MANAGER_SYSTEM)) < 0) return r; |