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:
parent
1f5558b499
commit
0355825f59
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user