On Wed, May 30, 2001 at 10:50:37AM +1000, Greg Burley <[EMAIL PROTECTED]> wrote:
| have a look at errorcode.h in the distribution source of 2.4.6
| 20 is commented as status returned when sent SIGUSR1 or SIGINT -- the  later
| being the most useful clue to your problem (you would probably know if you
| sent SIGUSR1 to your running rsync.

Hmm.

It has long annoyed me that rsync returns exit code 20 after successfully
updating the target. (No, I don't send it any signals.) I only get zero if
both sides are the same before the sync.

I would have expected:

        - both sides the same - exit zero
        - both sides different and -n used - non-zero
        - both sides different, no -n, successful update - zero
        - both sides different, no -n, unsuccessful update - non-zero

This doesn't seem to be the case.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

The Microsoft manuals, of course, are just a load of self-serving propaganda
written by tekkies under the supervision of public relations folks.
        - David Lloyd-Jones

Reply via email to