From 27e32db1ed79139311ad1c60a83b5ebf12d4e491 Mon Sep 17 00:00:00 2001 From: simon987 Date: Wed, 17 Nov 2021 20:18:48 -0500 Subject: [PATCH] Fix attempt for excludes --- src/io/walk.c | 3 ++- src/sist.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/io/walk.c b/src/io/walk.c index 3379f55..86b2b77 100644 --- a/src/io/walk.c +++ b/src/io/walk.c @@ -57,10 +57,11 @@ int handle_entry(const char *filepath, const struct stat *info, int typeflag, st pthread_mutex_lock(&ScanCtx.dbg_file_counts_mu); ScanCtx.dbg_excluded_files_count += 1; pthread_mutex_unlock(&ScanCtx.dbg_file_counts_mu); - return 0; } else if (typeflag == FTW_D) { return FTW_SKIP_SUBTREE; } + + return FTW_CONTINUE; } if (typeflag == FTW_F && S_ISREG(info->st_mode)) { diff --git a/src/sist.h b/src/sist.h index 2c8da18..f899f81 100644 --- a/src/sist.h +++ b/src/sist.h @@ -53,7 +53,7 @@ #include #include "git_hash.h" -#define VERSION "2.11.5" +#define VERSION "2.11.6" static const char *const Version = VERSION; #ifndef SIST_PLATFORM