summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-09-15 15:30:45 +0000
committerWayne Davison <wayned@samba.org>2007-09-15 15:30:45 +0000
commit969cdffbeaaa32e4ef2ef90862b46f686856b042 (patch)
tree6dd2d94b4aed1e16238962c2a9b5fcbd2b79fd4c /log.c
parent3b7bcaaf3477be6a50fde54e06b80c9a5e698bd9 (diff)
downloadrsync-969cdffbeaaa32e4ef2ef90862b46f686856b042.tar.gz
rsync-969cdffbeaaa32e4ef2ef90862b46f686856b042.tar.bz2
rsync-969cdffbeaaa32e4ef2ef90862b46f686856b042.zip
Prevent a server from outputting an end-of-run message about its
error-code that cannot be sent successfully.
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index 06b5ae37..f3a3cff1 100644
--- a/log.c
+++ b/log.c
@@ -792,7 +792,7 @@ void log_exit(int code, const char *file, int line)
(double)stats.total_written,
(double)stats.total_read,
(double)stats.total_size);
- } else {
+ } else if (am_server != 2) {
const char *name;
name = rerr_name(code);