X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fntfs-capture.c;h=03c8720af1e568686e444e2bbfe5ec72f08a92cf;hp=74ae7536bda91862a7bacc8c1259095861c30ddc;hb=237947e198385359a0c618b664d73bf4db36c405;hpb=32844c59e618cfaf1999e81e32b5e18fcb13a5b9 diff --git a/src/ntfs-capture.c b/src/ntfs-capture.c index 74ae7536..03c8720a 100644 --- a/src/ntfs-capture.c +++ b/src/ntfs-capture.c @@ -508,10 +508,10 @@ build_dentry_tree_ntfs_recursive(struct wim_dentry **root_p, int ret; struct wim_dentry *root; - if (exclude_path(path, config, false)) { + if (exclude_path(path, path_len, config, false)) { /* Exclude a file or directory tree based on the capture * configuration file */ - if ((add_image_flags & WIMLIB_ADD_IMAGE_FLAG_VERBOSE) + if ((add_image_flags & WIMLIB_ADD_IMAGE_FLAG_EXCLUDE_VERBOSE) && progress_func) { union wimlib_progress_info info;