From cb3f502e3a44a2225b0b3e8a3598de7f872a7266 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 28 Aug 2003 22:59:53 +0000 Subject: attr/acl nftw error handling fix from AndreasG --- getfattr/getfattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'getfattr') diff --git a/getfattr/getfattr.c b/getfattr/getfattr.c index e8ed902..94d3653 100644 --- a/getfattr/getfattr.c +++ b/getfattr/getfattr.c @@ -349,7 +349,7 @@ int do_print(const char *path, const struct stat *stat, { int header_printed = 0; - if (flag & FTW_DNR) { + if (flag == FTW_DNR) { /* Item is a directory which can't be read. */ fprintf(stderr, "%s: %s: %s\n", progname, xquote(path), strerror(errno)); -- cgit v1.2.3