X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fupdate_image.c;h=85de4249f3435206c3fb46de9e3beff2a12fa490;hp=ac07b78ac8dbfe0c40eb338efafb97fb9e57f0d0;hb=f7eef564a0b927f289f964bef77fbdb935fd6f27;hpb=b385fbfff5c985c0037dfc80ccbc3213e47718d5 diff --git a/src/update_image.c b/src/update_image.c index ac07b78a..85de4249 100644 --- a/src/update_image.c +++ b/src/update_image.c @@ -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;