find: -type T was actually meaning ! -type T!
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 31 Oct 2006 23:39:37 +0000 (23:39 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 31 Oct 2006 23:39:37 +0000 (23:39 -0000)
With this fix, "make mrproper" works correctly

findutils/find.c

index bc285d3..f3f4d95 100644 (file)
@@ -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