Snap for 4807121 from be9b6f807197ae63c4e347f6d0bf4427ecacc205 to pi-release
Change-Id: I8b531ad1814c9ee8b2443fedb92cd5911fda356f
diff --git a/src/dnsmasq.c b/src/dnsmasq.c
index 3d7bdb5..cbe3d86 100755
--- a/src/dnsmasq.c
+++ b/src/dnsmasq.c
@@ -110,6 +110,7 @@
if (fstat(i, &stat_buf) != 0) {
if (errno == EBADF) continue;
+ if (errno == EACCES) continue; // Lessen the log spam.
my_syslog(LOG_ERR, "fstat(%d) error: %d/%s", i, errno, strerror(errno));
} else {
my_syslog(LOG_ERR, "Closing inherited file descriptor %d (%u:%u)",