summaryrefslogtreecommitdiff
path: root/tools/jail-measure.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-06-18 18:14:04 +0000
committerStef Walter <stef@memberwebs.com>2008-06-18 18:14:04 +0000
commit733bcfdd5670f86086a0a277f11282d21574ce9b (patch)
tree4b8abe32793bb52bee6e53859c07367f78175b18 /tools/jail-measure.c
parent068f0444ff75156f3f0aca1bc4d0c36b72dcd5cb (diff)
Don't complain if a file dissappears
Diffstat (limited to 'tools/jail-measure.c')
-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)) {