diff options
author | Rory Bradford <roryrjb@gmail.com> | 2020-04-14 16:45:58 +0100 |
---|---|---|
committer | Rory Bradford <roryrjb@gmail.com> | 2020-04-14 16:45:58 +0100 |
commit | f2af45854ed581394bcfcb2752e456388baf618f (patch) | |
tree | 6c831b6475d6e500f1e8678b5747eef8243ccc9f | |
parent | 73565a09bde5f039b23069ab1c7a788c6243c249 (diff) | |
download | rf-f2af45854ed581394bcfcb2752e456388baf618f.tar.gz |
Fix invert exclusion
Signed-off-by: Rory Bradford <roryrjb@gmail.com>
-rw-r--r-- | rf.c | 1 |
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; } |