about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2020-04-14 16:45:58 +0100
committerRory Bradford <roryrjb@gmail.com>2020-04-14 16:45:58 +0100
commitf2af45854ed581394bcfcb2752e456388baf618f (patch)
tree6c831b6475d6e500f1e8678b5747eef8243ccc9f
parent73565a09bde5f039b23069ab1c7a788c6243c249 (diff)
downloadrf-f2af45854ed581394bcfcb2752e456388baf618f.tar.gz
Fix invert exclusion
Signed-off-by: Rory Bradford <roryrjb@gmail.com>
-rw-r--r--rf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rf.c b/rf.c
index 6073f06..d804f96 100644
--- a/rf.c
+++ b/rf.c
@@ -160,6 +160,7 @@ static int recurse_find(char **patterns, int *pattern_count, char *dirname,
 				break;
 			case DT_REG:
 				if (excluded_extension(entry->d_name)) {
+					matched = 0;
 					break;
 				}