1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 11:55:23 +03:00

mount: require fsck

This commit is contained in:
Lennart Poettering 2010-10-20 15:21:05 +02:00
parent 1f5558b499
commit 0355825f59

View File

@ -380,7 +380,7 @@ static int mount_add_device_links(Mount *m) {
SERVICE(fsck)->fsck_passno = p->passno;
if ((r = unit_add_two_dependencies(UNIT(m), UNIT_AFTER, UNIT_WANTS, fsck, true)) < 0)
if ((r = unit_add_two_dependencies(UNIT(m), UNIT_AFTER, UNIT_REQUIRES, fsck, true)) < 0)
return r;
}