mirror of
https://github.com/systemd/systemd.git
synced 2025-02-04 21:47:31 +03:00
mount: do not implicitly pull in fsck service for root dir
This commit is contained in:
parent
ba5beeb174
commit
b65a25f256
@ -360,7 +360,8 @@ static int mount_add_device_links(Mount *m) {
|
||||
}
|
||||
|
||||
if (p->passno > 0 &&
|
||||
UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM) {
|
||||
UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM &&
|
||||
!path_equal(m->where, "/")) {
|
||||
char *name;
|
||||
Unit *fsck;
|
||||
/* Let's add in the fsck service */
|
||||
|
Loading…
x
Reference in New Issue
Block a user