From 733bcfdd5670f86086a0a277f11282d21574ce9b Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 18 Jun 2008 18:14:04 +0000 Subject: Don't complain if a file dissappears --- tools/jail-measure.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') 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)) { -- cgit v1.2.3