Date:   Thu Jan  9 19:04:06 2003
Author: dwd

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv25537

Modified Files:
        NEWS main.c 
Log Message:
Fixed bug that caused rsync to lose exit status of its child processes.
Based on patch submited by David R. Staples.  Todd Vander Does contributed
the following test which showed the problem:
  > mkdir /tmp/nowrite
  > chmod -w /tmp/nowrite
  > rsync /etc/group /tmp/nowrite || echo $status
  mkstemp .group.cUaaeY failed
  rsync error: partial transfer (code 23) at main.c(518)
  23
  > rsync -e ssh loki:/etc/group /tmp/nowrite || echo $status
  mkstemp .group.1rayeY failed
  > rsync -e ssh loki:/etc/group /tmp/nowrite && echo $status
  mkstemp .group.fbaGiY failed
  0
The remote copy should have returned non-zero exit code like the local copy.


Revisions:
NEWS            1.79 => 1.80
        http://www.samba.org/cgi-bin/cvsweb/rsync/NEWS?r1=1.79&r2=1.80
main.c          1.156 => 1.157
        http://www.samba.org/cgi-bin/cvsweb/rsync/main.c?r1=1.156&r2=1.157
_______________________________________________
rsync-cvs mailing list
[EMAIL PROTECTED]
http://lists.samba.org/mailman/listinfo/rsync-cvs

Reply via email to