]> wimlib.net Git - wimlib/blobdiff - src/update_image.c
xml_windows: support non-default system roots
[wimlib] / src / update_image.c
index ac07b78ac8dbfe0c40eb338efafb97fb9e57f0d0..85de4249f3435206c3fb46de9e3beff2a12fa490 100644 (file)
@@ -870,9 +870,7 @@ execute_add_command(struct update_command_journal *j,
                        goto out_destroy_config;
        }
 
-       if (WIMLIB_IS_WIM_ROOT_PATH(wim_target_path) &&
-           get_dentry(wim, T("Windows"), WIMLIB_CASE_INSENSITIVE))
-       {
+       if (WIMLIB_IS_WIM_ROOT_PATH(wim_target_path)) {
                ret = set_windows_specific_info(wim);
                if (ret)
                        goto out_destroy_config;