if (ret)
goto out_free_swms;
- swm0->guid_set_explicitly = 1;
-
/* It is reasonably safe to provide, WIMLIB_WRITE_FLAG_STREAMS_OK, as we
* have verified that the specified split WIM parts form a spanned set.
*/
ret = wimlib_write(swm0, output_path, WIMLIB_ALL_IMAGES,
- wim_write_flags | WIMLIB_WRITE_FLAG_STREAMS_OK,
+ wim_write_flags |
+ WIMLIB_WRITE_FLAG_STREAMS_OK |
+ WIMLIB_WRITE_FLAG_RETAIN_GUID,
1, progress_func);
out_free_swms:
for (i = 0; i < num_additional_swms + 1; i++)