From 8240565929c54d87883659f41ceef717bcdfa4b7 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sun, 5 Jan 2014 12:15:46 +0100 Subject: [PATCH] lib: Don't log mere EAGAINs. --- lib/cf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cf.c b/lib/cf.c index 1f7be79..5a6388e 100644 --- a/lib/cf.c +++ b/lib/cf.c @@ -388,8 +388,8 @@ static int stdhandle(struct child *ch, struct hthead *req, int fd, void (*chinit return(0); serr = errno; } - flog(LOG_ERR, "could not pass on request to child %s: %s", ch->name, strerror(serr)); if(serr != EAGAIN) { + flog(LOG_ERR, "could not pass on request to child %s: %s", ch->name, strerror(serr)); close(sd->fd); sd->fd = -1; } -- 2.11.0