summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/log.c b/log.c
index d29e2b94..f7e124f3 100644
--- a/log.c
+++ b/log.c
@@ -182,7 +182,8 @@ void rwrite(enum logcode code, char *buf, int len)
send_msg((enum msgcode)code, buf, len);
return;
}
- if (io_multiplex_write((enum msgcode)code, buf, len))
+ if (!am_daemon
+ && io_multiplex_write((enum msgcode)code, buf, len))
return;
}