From 67882cb569aa0b922dc13df7eb7c748f2045c7cf Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 11 May 2013 01:12:41 -0500 Subject: [PATCH] wimlib_update_image(): Call xml_update_image_info() --- src/update_image.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/update_image.c b/src/update_image.c index ce77c688..d37c9146 100644 --- a/src/update_image.c +++ b/src/update_image.c @@ -25,6 +25,7 @@ #include "dentry.h" #include "lookup_table.h" #include "security.h" +#include "xml.h" #include /* Creates a new directory to place in the WIM image. This is to create parent @@ -706,7 +707,9 @@ wimlib_update_image(WIMStruct *wim, DEBUG("Executing update commands"); ret = execute_update_commands(wim, cmds_copy, num_cmds, progress_func); - + if (ret) + goto out_free_cmds_copy; + xml_update_image_info(wim, wim->current_image); out_free_cmds_copy: free_update_commands(cmds_copy, num_cmds); out: -- 2.43.0