X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fexport_image.c;h=c5c85d5f77f401070693ed42f8016c6e0b37b162;hb=e510d33bc53ca66de7737d49b8086532bac2e4f7;hp=34564e222e2cd70b1748008fbbb1eaf8fd85c8f4;hpb=7ce0d372fae285051cbc9740c9fa316d22465d9d;p=wimlib diff --git a/src/export_image.c b/src/export_image.c index 34564e22..c5c85d5f 100644 --- a/src/export_image.c +++ b/src/export_image.c @@ -252,6 +252,12 @@ wimlib_export_image(WIMStruct *src_wim, if (export_flags & WIMLIB_EXPORT_FLAG_BOOT) dest_wim->hdr.boot_idx = dest_wim->hdr.image_count; + if (src_wim->hdr.flags & WIM_HDR_FLAG_RP_FIX) + { + /* Set the reparse point fixup flag on the destination WIM if + * the flag is set on the source WIM. */ + dest_wim->hdr.flags |= WIM_HDR_FLAG_RP_FIX; + } ret = 0; goto out; out_xml_delete_image: