On May 5, 2010, at 10:41 PM, Michael Renner wrote:

> I'm writing a compley backup application with rsync in shell.
> 
> What I do to report errors: analyze the return code an internal table with 
> error specifications and reporting these in clear text. The code:


You mean you just look at the return code from rsync and ignore the individual 
lines reported in the output? That's certainly easiest if it's accurate. Does 
rsync stop transferring if it encounters an error and thus only one error code 
is ever relevant? I felt that there were multiple errors that couldn't be 
expressed in a single code but I may be wrong since I haven't been using rsync 
long.

Regards,
        Josef

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to