From: Eric Wong Date: Mon, 18 Jul 2016 04:59:11 +0000 (+0000) Subject: daemon: ignore ENOTSOCK from setsockopt X-Git-Tag: v2.9.3~38^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/49c58d86ceb7816c5f0ca36e38e26cd6b8506d74?hp=49c58d86ceb7816c5f0ca36e38e26cd6b8506d74 daemon: ignore ENOTSOCK from setsockopt In inetd mode, we are not guaranteed stdin or stdout is a socket; callers could filter the data through a pipe or be testing with regular files. This prevents t5802 from polluting syslog. Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano ---