From: Lennart Poettering Date: Wed, 13 Oct 2010 15:18:25 +0000 (+0200) Subject: mount: pull in fsck only in systemd instances X-Git-Tag: v12~241 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=491ad5dc661fc2a057cdb37e9d7f1d01db475801;p=systemd mount: pull in fsck only in systemd instances --- diff --git a/TODO b/TODO index bda29da5..2a2c4246 100644 --- 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 diff --git a/src/mount.c b/src/mount.c index 9d79cd53..c7df923f 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 */