find: -type T was actually meaning ! -type T!

With this fix, "make mrproper" works correctly
This commit is contained in:
Denis Vlasenko 2006-10-31 23:39:37 +00:00
parent 14aa9f7415
commit 31c65f2456

View File

@ -143,7 +143,7 @@ SFUNC(name)
#if ENABLE_FEATURE_FIND_TYPE #if ENABLE_FEATURE_FIND_TYPE
SFUNC(type) SFUNC(type)
{ {
return !((statbuf->st_mode & S_IFMT) == ap->type_mask); return ((statbuf->st_mode & S_IFMT) == ap->type_mask);
} }
#endif #endif
#if ENABLE_FEATURE_FIND_PERM #if ENABLE_FEATURE_FIND_PERM