summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-08-25 17:16:48 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-08-25 17:16:54 +0200
commita4bff697871c8cc7252d029d77b180e41e821f7e (patch)
tree75809abe9efc4698fad506be89338515f8c36ce2 /src/irmd
parentb95c08fa4cdc423b650b3d2b23bbbe3cd0f87c52 (diff)
downloadouroboros-a4bff697871c8cc7252d029d77b180e41e821f7e.tar.gz
ouroboros-a4bff697871c8cc7252d029d77b180e41e821f7e.zip
irmd: Don't warn on failed write to terminated IPCP
Diffstat (limited to 'src/irmd')
-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);