Clarification on the RSYNC_RAW_STATUS and RSYNC_EXIT_STATUS

Rob Bosch robbosch at msn.com
Mon Sep 18 17:13:04 GMT 2006


I've noticed that even if rsync has a non-zero exit code on the client that
the server still reports an exit status of 0.  For example, I've received an
error 23 with the following output on the client-side "rsync error: some
files could not be transferred (code 23) at main.c(954) [sender=2.6.9cvs]"
while the server-side rsync_raw_status and rsync_exit_status were still both
zero.  The error code returned by rsync on the client side was correctly 23.
Will the rsync server-side error status report the same exit code the client
reports?  It seems like if the client or the server experience an error that
the rsync_raw_status or the rsync_exit_status should represent the same
value, right?

Rob




More information about the rsync mailing list