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:
Lennart Poettering
2025-04-03 10:22:46 +02:00
parent 90941d458a
commit bed3ff8ebc
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ static int add_mount(
if (post)
fprintf(f, "Before=%s\n", post);
r = generator_write_fsck_deps(f, arg_dest, what, where, fstype);
r = generator_write_fsck_deps(f, arg_dest, what, where, fstype, opts_filtered);
if (r < 0)
return r;