mount: pull in fsck only in systemd instances

This commit is contained in:
Lennart Poettering 2010-10-13 17:18:25 +02:00
parent 26e190cf87
commit 491ad5dc66
2 changed files with 3 additions and 3 deletions

2
TODO
View File

@ -56,7 +56,7 @@
* systemctl auto-pager a la git
* fsck setup
* fsck setup: quota flag, check kcmdline/forcefsck, reboot, single user
* merge CK

View 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 */