Shell Script Does not complete if rsync returns Code 24

René Rebe rene at exactcode.de
Wed Jan 11 10:29:02 GMT 2006


Hi,

On Wednesday 11 January 2006 04:28, John Gallagher wrote:

> The problem is that I have no clue what to do with this and or how to make
> it work with my script.

If you want hide errors, remove the -e from your sh invocation or add || true
at the end of the rsync invocation.

Though I would not do either in a backup script. Better would be to just ignore
some of rsync's return codes.

Regards,

-- 
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
            http://www.exactcode.de | http://www.t2-project.org
            +49 (0)30  255 897 45


More information about the rsync mailing list