From: Dan P. <da...@in...> - 2010-10-26 01:59:37
|
On Oct 25, 2010, at 3:39 PM, Rob Poe wrote: > I'm having an irritating problem with BackupPC for a client of mine. > > They're still running some Netware (yes, I know ...), and the > File::RsyncP perl module is barfing on the Netware rsync. > > https://rt.cpan.org/Public/Bug/Display.html?id=61882 try something like alarm(0) if ( $rs->{timeout} ); my $errcnt = 0; unless ( $line =~ m/\@RSYNCD:\s*(\d+)/ ) { if ( $errcnt > 10 ) { die "unexpected response from rsync" } $line = ->getLine; $errcnt++; } |