commit | 31c65f24560f6980e3949a02f0b5e5e45c1a365d | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Tue Oct 31 23:39:37 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Tue Oct 31 23:39:37 2006 +0000 |
tree | d3c0c94bff443a456acad23b04596099523b5841 | |
parent | 14aa9f74156243469bc96d6435b560b8042fcb99 [diff] [blame] |
find: -type T was actually meaning ! -type T! With this fix, "make mrproper" works correctly
diff --git a/findutils/find.c b/findutils/find.c index bc285d3..f3f4d95 100644 --- a/findutils/find.c +++ b/findutils/find.c
@@ -143,7 +143,7 @@ #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