summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/jail-measure.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/jail-measure.c b/tools/jail-measure.c
index 8a814b6..cba90a2 100644
--- a/tools/jail-measure.c
+++ b/tools/jail-measure.c
@@ -127,7 +127,8 @@ measure_jail (const char *path)
case FTS_DNR:
case FTS_ERR:
case FTS_NS:
- emsg ("couldn't access path: %s: %s", f->fts_path, strerror (f->fts_errno));
+ if (f->fts_errno != ENOENT)
+ emsg ("couldn't access path: %s: %s", f->fts_path, strerror (f->fts_errno));
break;
default:
if (f->fts_statp->st_nlink == 1 || !check_skip_link (f)) {