From a4bff697871c8cc7252d029d77b180e41e821f7e Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 25 Aug 2017 17:16:48 +0200 Subject: irmd: Don't warn on failed write to terminated IPCP --- src/irmd/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/irmd') diff --git a/src/irmd/main.c b/src/irmd/main.c index c8c75ef9..e72153ae 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -2001,7 +2001,8 @@ void * mainloop(void * o) free(apis); if (write(sfd, buffer.data, buffer.len) == -1) - log_warn("Failed to send reply message."); + if (ret_msg.result != -EIRMD) + log_warn("Failed to send reply message."); free(buffer.data); close(sfd); -- cgit v1.2.3