From 31c65f24560f6980e3949a02f0b5e5e45c1a365d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 31 Oct 2006 23:39:37 +0000 Subject: find: -type T was actually meaning ! -type T! With this fix, "make mrproper" works correctly --- findutils/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3