Re: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread René Rebe
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

Re: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread Linus Hicks
René Rebe wrote: 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

RE: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread John Gallagher
If you want to handle errors from rsync in your shell script, then remove the -e and test for errors after your call to rsync. Linus Let me start by saying my shell scripting skills are very weak, as if that were not already apparent. I understand the -e will exit when the return code is

Re: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread Wayne Davison
On Tue, Jan 10, 2006 at 07:28:00PM -0800, 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. The FAQ says to name the script something like rsync-no24. All you'd need to do in your script is to run rsync-no24 in place of

Re: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread Linus Hicks
John Gallagher wrote: If you want to handle errors from rsync in your shell script, then remove the -e and test for errors after your call to rsync. Linus Let me start by saying my shell scripting skills are very weak, as if that were not already apparent. I understand the -e will exit

RE: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread John Gallagher
First, this is not an rsync issue. That tells me that you want your script (the one you posted in your original message) to continue processing if rsync takes the error 24. If that is the case, then you need to remove the -e on your shell invocation OR call a wrapper that treats the

Shell Script Does not complete if rsync returns Code 24

2006-01-10 Thread John Gallagher
I have a simple backup shell script that I am using for backups. I have a problem which I think is a result of this error: rsync warning: some files vanished before they could be transferred (code 24) at main.c(789) Any command after the rsync never gets executed if I get the above error.