generator: also suppress fsck early if we are adding a bind mount
There's no point in "fscking a bind mount". Let's not do it hence.
This commit is contained in:
@@ -605,7 +605,7 @@ static int add_mount(
|
||||
fprintf(f, "After=%s\n", extra_after);
|
||||
|
||||
if (passno != 0) {
|
||||
r = generator_write_fsck_deps(f, dest, what, where, fstype);
|
||||
r = generator_write_fsck_deps(f, dest, what, where, fstype, opts);
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user