diff options
-rw-r--r-- | findutils/find.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c index bc285d36a..f3f4d959d 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -143,7 +143,7 @@ SFUNC(name) #if ENABLE_FEATURE_FIND_TYPE SFUNC(type) { - return !((statbuf->st_mode & S_IFMT) == ap->type_mask); + return ((statbuf->st_mode & S_IFMT) == ap->type_mask); } #endif #if ENABLE_FEATURE_FIND_PERM |