diff --git a/WHATS_NEW b/WHATS_NEW index 925ae235c..4f23c398b 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.97 - =============================== + Do not issue "Failed to handle a client connection" error if lvmetad killed. Support changing of discard and zeroing for thin pool. Report used discard for thin pool and volume. Add support for controlling discard behavior of thin pool. diff --git a/libdaemon/server/daemon-server.c b/libdaemon/server/daemon-server.c index 65b28e462..5ca923160 100644 --- a/libdaemon/server/daemon-server.c +++ b/libdaemon/server/daemon-server.c @@ -510,7 +510,7 @@ void daemon_start(daemon_state s) if (select(FD_SETSIZE, &in, NULL, NULL, NULL) < 0 && errno != EINTR) perror("select error"); if (FD_ISSET(s.socket_fd, &in)) - if (!handle_connect(s)) + if (!_shutdown_requested && !handle_connect(s)) syslog(LOG_ERR, "Failed to handle a client connection."); }