installer: Correctly pass mount flags

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2024-04-05 12:59:38 +00:00
committed by Arne Fitzenreiter
parent eb64913be1
commit 1415e83a34

View File

@@ -1010,7 +1010,7 @@ static int hw_mount_btrfs_subvolumes(const char* source) {
fprintf(flog, "Mounting subvolume %s to %s\n", subvolume->name, subvolume->mount_path);
// Try to mount the subvolume.
r = mount(source, path, "btrfs", NULL, options);
r = mount(source, path, "btrfs", 0, options);
if (r)
return r;
}