X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/bdd3a4fef5c04aaeac5dae5e5d7166981d923934..b3e8e7c79e5d1fb33556ea3cb9cf9830085c22a5:/log.c diff --git a/log.c b/log.c index f62a8cfe..139f0025 100644 --- a/log.c +++ b/log.c @@ -224,9 +224,6 @@ void rwrite(enum logcode code, char *buf, int len) if (len < 0) exit_cleanup(RERR_MESSAGEIO); - if (quiet && code == FINFO) - return; - if (am_server && msg_fd_out >= 0) { /* Pass the message to our sibling. */ send_msg((enum msgcode)code, buf, len); @@ -258,6 +255,9 @@ void rwrite(enum logcode code, char *buf, int len) } else if (code == FLOG) return; + if (quiet && code != FERROR) + return; + if (am_server) { /* Pass the message to the non-server side. */ if (send_msg((enum msgcode)code, buf, len))