summaryrefslogtreecommitdiff
path: root/access.c
diff options
context:
space:
mode:
authorDavid Dykstra <dwd@samba.org>2003-01-09 19:04:06 +0000
committerDavid Dykstra <dwd@samba.org>2003-01-09 19:04:06 +0000
commitee7118a8164ca250abd2cc33aa4dbc8a45594682 (patch)
tree91f12ff484b8ea458c772ae2d22fe1a097e67af3 /access.c
parent95dd949c09474942fe580af221298f6eb2176d87 (diff)
downloadrsync-ee7118a8164ca250abd2cc33aa4dbc8a45594682.tar.gz
rsync-ee7118a8164ca250abd2cc33aa4dbc8a45594682.tar.bz2
rsync-ee7118a8164ca250abd2cc33aa4dbc8a45594682.zip
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.
Diffstat (limited to 'access.c')
0 files changed, 0 insertions, 0 deletions