On Sat, Apr 23, 2005 at 09:58:02AM +0800, Dan Jacobson wrote: > $ rsync -avz debian.linux.org.tw:var/lib/apt/diet.lists var/lib/apt/diet.lists > receiving file list ... link_stat var/lib/apt/diet.lists : No such file or > directory done > client: nothing to do: perhaps you need to specify some filenames or the > --recursive option?
The worst thing about that rsync response is that it returned a zero (success) exit status when it should have returned code 23 (some files could not be transferred). The second worst thing about that is that it is inconsistent with rsync's push/local-copy behavior (in which rsync exits with the normal end-of-run messages and returns a proper response code). So, I just checked in a change that makes the pull behavior work like the push behavior, and now that message is gone. I may put in a better warning about an empty file-list that works for both push and pull, but I'm contemplating how useful I think that would be. Comments welcomed. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html