When rsync encountered an empty file list, it behaved differently
authorWayne Davison <wayned@samba.org>
Sat, 23 Apr 2005 22:30:08 +0000 (22:30 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 23 Apr 2005 22:30:08 +0000 (22:30 +0000)
commit9d19f8a5feb465e75351edd9057c995e4b56d33e
tree8674166a17d55a5abb849a109ece40de505694e0
parent24e61cffe3cedc0165ceb623aefb42a35bd7da73
When rsync encountered an empty file list, it behaved differently
when pulling files than when pushing files:  pulling it output a
(mostly) unhelpful error message and then exited with a 0 status,
even when the remote side exited with an error code.  I changed this
to output the normal end summary (when verbose) and to exit with the
status intact (just like when pushing files).
main.c