summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-04-29 19:34:31 +0000
committerWayne Davison <wayned@samba.org>2004-04-29 19:34:31 +0000
commit4ce48a5bfdc975546dd4b0f17d029a7f5be9cad7 (patch)
treeb7663e520ee2a21b31ae65c52708ddb52a2c39de
parent20bf7f847fdc79d4b823a3da1285809f711776c0 (diff)
downloadrsync-4ce48a5bfdc975546dd4b0f17d029a7f5be9cad7.tar.gz
Restore old behavior of logging most daemon errors instead of sending
them to the user. This should eventually be improved to duplicate some of these messages to the user to keep them informed about what went wrong.
-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;
}