win32_apply.c: Fix extraction of non-WIMBoot files in WIMBoot mode
authorEric Biggers <ebiggers3@gmail.com>
Sun, 25 May 2014 12:20:31 +0000 (07:20 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 25 May 2014 12:20:31 +0000 (07:20 -0500)
src/win32_apply.c

index 421db26..ecd7183 100644 (file)
@@ -1342,7 +1342,9 @@ begin_extract_stream_instance(const struct wim_lookup_table_entry *stream,
                                            &info, ctx->common.progctx);
                        FREE(dentry->_full_path);
                        dentry->_full_path = NULL;
-                       return ret;
+                       if (ret)
+                               return ret;
+                       /* Go on and open the file for normal extraction.  */
                } else {
                        FREE(dentry->_full_path);
                        dentry->_full_path = NULL;