summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irmd/main.c3
1 files changed, 2 insertions, 1 deletions
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);