]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/installer/main.c
installer: Flush all disk buffers after the installation has finished.
[ipfire-2.x.git] / src / installer / main.c
index e3ed7957ef64857fa28d904991881a35ab14218e..ad4e0c54b21997a57ecabee59cb9850a2830b6d9 100644 (file)
@@ -676,6 +676,8 @@ EXIT:
        free(sourcedrive);
 
        if (destination) {
+               hw_sync();
+
                hw_umount_filesystems(destination, DESTINATION_MOUNT_PATH);
                free(destination);
        }