chiark / gitweb /
mount: pull in fsck only in systemd instances
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2010 15:18:25 +0000 (17:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2010 15:18:36 +0000 (17:18 +0200)
TODO
src/mount.c

diff --git a/TODO b/TODO
index bda29da..2a2c424 100644 (file)
--- a/TODO
+++ b/TODO
@@ -56,7 +56,7 @@
 
 * systemctl auto-pager a la git
 
-* fsck setup
+* fsck setup: quota flag, check kcmdline/forcefsck, reboot, single user
 
 * merge CK
 
index 9d79cd5..c7df923 100644 (file)
@@ -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 */