about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;
 				}