]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
installer: Correctly umount main BTRFS partition.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 26 Feb 2024 05:36:08 +0000 (06:36 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 26 Feb 2024 05:36:08 +0000 (06:36 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/installer/hw.c

index 420feaca734aeb84d28facafe62c16ccdba577c5..205d40d21c5dcf56587aaa5492335d94eaa4da97 100644 (file)
@@ -916,7 +916,7 @@ int hw_create_btrfs_layout(const char* path, const char* output) {
        }
 
        // Umount the main BTRFS after subvolume creation.
-       r = hw_umount(path, 0);
+       r = hw_umount(DESTINATION_MOUNT_PATH, 0);
 
        if (r)
                return r;