summaryrefslogtreecommitdiffstats
path: root/trunk/src/gather.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/gather.c')
-rw-r--r--trunk/src/gather.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunk/src/gather.c b/trunk/src/gather.c
index b9a4632..2752e4b 100644
--- a/trunk/src/gather.c
+++ b/trunk/src/gather.c
@@ -1004,6 +1004,8 @@ gather_object (const char *name, int deref, int onefs)
++implicit;
ret = nftw64 (name, gather_func, 20, flags | FTW_ACTIONRETVAL);
--implicit;
+ if (ret < 0)
+ error (0, errno, "Failed searching %s", name);
#ifndef HAVE_FTW_ACTIONRETVAL
free (blacklist_dir);
blacklist_dir = NULL;