]> wimlib.net Git - wimlib/blobdiff - src/capture_common.c
win32_capture.c: Fix exclusion when capture path ends in slash
[wimlib] / src / capture_common.c
index 943d919ba5770530053ee60cf5007be7b8b706fb..ececd29a8447ab1ac3896a9a3f25609ff183fccb 100644 (file)
@@ -44,8 +44,7 @@
  *     Flags, optional progress function, and progress data for the capture
  *     operation.
  * @status
- *     Status of the scanned file (ok, unsupported, excluded, or excluded
- *     symlink).
+ *     Status of the scanned file.
  * @inode
  *     If @status is WIMLIB_SCAN_DENTRY_OK, this is a pointer to the WIM inode
  *     that has been created for the scanned file.  The first time the file is
@@ -62,7 +61,8 @@ do_capture_progress(struct add_image_params *params, int status,
                        return 0;
        case WIMLIB_SCAN_DENTRY_UNSUPPORTED:
        case WIMLIB_SCAN_DENTRY_EXCLUDED:
-       case WIMLIB_SCAN_DENTRY_EXCLUDED_SYMLINK:
+       case WIMLIB_SCAN_DENTRY_FIXED_SYMLINK:
+       case WIMLIB_SCAN_DENTRY_NOT_FIXED_SYMLINK:
                if (!(params->add_flags & WIMLIB_ADD_FLAG_EXCLUDE_VERBOSE))
                        return 0;
        }