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

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 wh

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

2006-01-11 Thread John Gallagher
> 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 rsync. > > ..wayne.. Thanks for the clarification, I can do that! John -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync

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 rs

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

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 invocation

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 n