diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-13 17:18:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-13 17:18:36 +0200 |
commit | 491ad5dc661fc2a057cdb37e9d7f1d01db475801 (patch) | |
tree | bf2b2986ff829129ad3325283ecec4dc07dc63bd | |
parent | 26e190cf872226b46c2806c8120a394ad97b62fa (diff) |
mount: pull in fsck only in systemd instances
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/mount.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -56,7 +56,7 @@ * systemctl auto-pager a la git -* fsck setup +* fsck setup: quota flag, check kcmdline/forcefsck, reboot, single user * merge CK diff --git a/src/mount.c b/src/mount.c index 9d79cd537d..c7df923f85 100644 --- a/src/mount.c +++ b/src/mount.c @@ -359,8 +359,8 @@ static int mount_add_device_links(Mount *m) { return r; } - if (p->passno > 0 /* && - UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM */) { + if (p->passno > 0 && + UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM) { char *name; Unit *fsck; /* Let's add in the fsck service */ |