]> wimlib.net Git - wimlib/blobdiff - src/unix_capture.c
Consistently forbid directory hard links from being honored on capture
[wimlib] / src / unix_capture.c
index b56c55db1a676ab8997428bebf9b1919cf5d5ee1..2843c36a6c698204c4aace20f32ebb6bc435f008 100644 (file)
@@ -388,8 +388,7 @@ unix_build_dentry_tree_recursive(struct wim_dentry **tree_ret,
        }
 
        ret = inode_table_new_dentry(params->inode_table, relpath,
-                                    stbuf.st_ino, stbuf.st_dev,
-                                    S_ISDIR(stbuf.st_mode), &tree);
+                                    stbuf.st_ino, stbuf.st_dev, false, &tree);
        if (ret)
                goto out;