summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-11-07 00:39:50 -0800
committerWayne Davison <wayned@samba.org>2009-11-07 01:22:11 -0800
commitf9185203ee03152001530db5624a2b8c93e1ea94 (patch)
tree8b1fb3dff27b0d87412a6739aba1f6de027a8e73 /log.c
parent84c11e85a4c4a12ecacba24afe9617222e4361e6 (diff)
downloadrsync-f9185203ee03152001530db5624a2b8c93e1ea94.tar.gz
Added notifications about error-exit values:
- The receiver notifies the generator if it is exiting with an error, and then, if it is a server, waits around for the generator to die. This ensures that the client side has time to read the error. - The generator or sender will notifiy the other side of the transfer of an error-exit value if protocol 31 is in effect. This will get rid of some "connection unexpectedly closed" errors that are really expected events due to a fatal exit on the other side.
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 4e20c2c8..5b4773fb 100644
--- a/log.c
+++ b/log.c
@@ -97,13 +97,14 @@ struct {
{ RERR_MALLOC , "error allocating core memory buffers" },
{ RERR_PARTIAL , "some files/attrs were not transferred (see previous errors)" },
{ RERR_VANISHED , "some files vanished before they could be transferred" },
+ { RERR_DEL_LIMIT , "the --max-delete limit stopped deletions" },
{ RERR_TIMEOUT , "timeout in data send/receive" },
{ RERR_CONTIMEOUT , "timeout waiting for daemon connection" },
+ { RERR_RCVR_ERROR , "exiting due to receiver error" },
{ RERR_CMD_FAILED , "remote shell failed" },
{ RERR_CMD_KILLED , "remote shell killed" },
{ RERR_CMD_RUN , "remote command could not be run" },
{ RERR_CMD_NOTFOUND,"remote command not found" },
- { RERR_DEL_LIMIT , "the --max-delete limit stopped deletions" },
{ 0, NULL }
};