]> wimlib.net Git - wimlib/blobdiff - src/update_image.c
Win32: Adjust error printing
[wimlib] / src / update_image.c
index a2664a1540a6f55324147f3b1b6217f2404024f2..f2bdba382a7738858cef5ffe0bf54a4eaac26d3c 100644 (file)
@@ -252,11 +252,9 @@ execute_add_command(WIMStruct *wim,
        if (wim_target_path[0] == T('\0'))
                params.add_flags |= WIMLIB_ADD_FLAG_ROOT;
        ret = (*capture_tree)(&branch, fs_source_path, &params);
        if (wim_target_path[0] == T('\0'))
                params.add_flags |= WIMLIB_ADD_FLAG_ROOT;
        ret = (*capture_tree)(&branch, fs_source_path, &params);
-       if (ret) {
-               ERROR("Failed to build dentry tree for \"%"TS"\"",
-                     fs_source_path);
+       if (ret)
                goto out_destroy_sd_set;
                goto out_destroy_sd_set;
-       }
+
        if (branch) {
                /* Use the target name, not the source name, for
                 * the root of each branch from a capture
        if (branch) {
                /* Use the target name, not the source name, for
                 * the root of each branch from a capture