diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-20 14:26:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-20 14:26:46 +0200 |
commit | b65a25f256505165660ab388d53446be17021d55 (patch) | |
tree | 74d9d2d66666759918d2689d1689d259891fb2d9 /src/mount.c | |
parent | ba5beeb1746dfc442c9476d93fddf2cb45d17cf1 (diff) |
mount: do not implicitly pull in fsck service for root dir
Diffstat (limited to 'src/mount.c')
-rw-r--r-- | src/mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mount.c b/src/mount.c index 53edf9d560..5aa51dec53 100644 --- a/src/mount.c +++ b/src/mount.c @@ -360,7 +360,8 @@ static int mount_add_device_links(Mount *m) { } if (p->passno > 0 && - UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM) { + UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM && + !path_equal(m->where, "/")) { char *name; Unit *fsck; /* Let's add in the fsck service */ |