[Rsync-patches] [PATCH] Improve the exit code 23 message.

Matt McCutchen <matt at mattmccutchen.net>
Thu Aug 14 12:14:27 PDT 2008


The new message is a bit long, but I'm hoping it will get users to check the
previous error messages before mailing the list / filing a bug:

"some files/attrs were not transferred, see previous error message(s)"
---
 log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/log.c b/log.c
index 609f3a5..672d721 100644
--- a/log.c
+++ b/log.c
@@ -88,7 +88,7 @@ struct {
 	{ RERR_SIGNAL     , "received SIGINT, SIGTERM, or SIGHUP" },
 	{ RERR_WAITCHILD  , "waitpid() failed" },
 	{ RERR_MALLOC     , "error allocating core memory buffers" },
-	{ RERR_PARTIAL    , "some files could not be transferred" },
+	{ RERR_PARTIAL    , "some files/attrs were not transferred, see previous error message(s)" },
 	{ RERR_VANISHED   , "some files vanished before they could be transferred" },
 	{ RERR_TIMEOUT    , "timeout in data send/receive" },
 	{ RERR_CONTIMEOUT , "timeout waiting for daemon connection" },
-- 
1.6.0.rc3.9.g5ebb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://mattmccutchen.net/mailman/archives/rsync-patches/attachments/20080814/c4a7bdc6/attachment.pgp>


More information about the rsync-patches mailing list