Re: Error handling with rsync

2002-04-18 Thread jw schultz
On Thu, Apr 18, 2002 at 07:23:38PM -0700, Martin Pool wrote: > On 18 Apr 2002, Otto Wyss <[EMAIL PROTECTED]> wrote: > > Since I uses rsync in a perl script I'd rather prefer to get error codes from > > rsync instead of messages at STDOUT. Is there an option which tells rsync it > > should return e

Re: Error handling with rsync

2002-04-18 Thread Martin Pool
On 18 Apr 2002, Otto Wyss <[EMAIL PROTECTED]> wrote: > Since I uses rsync in a perl script I'd rather prefer to get error codes from > rsync instead of messages at STDOUT. Is there an option which tells rsync it > should return error codes? You ought to get an exit code which indicates what happe

Error handling with rsync

2002-04-18 Thread Otto Wyss
Since I uses rsync in a perl script I'd rather prefer to get error codes from rsync instead of messages at STDOUT. Is there an option which tells rsync it should return error codes? Is this possible or do I ask something ridiculous? How is the error handling done when rsync can't download a file?