You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
819 B

diff -Nur -x '*.orig' -x '*.rej' BackupPC-4.2.1/lib/BackupPC/Xfer/Rsync.pm mezzanine_patched_BackupPC-4.2.1/lib/BackupPC/Xfer/Rsync.pm
--- BackupPC-4.2.1/lib/BackupPC/Xfer/Rsync.pm 2018-05-07 19:14:29.000000000 +0200
+++ mezzanine_patched_BackupPC-4.2.1/lib/BackupPC/Xfer/Rsync.pm 2018-11-05 15:43:26.616901808 +0100
@@ -546,6 +546,12 @@
}
$t->{stats}{xferErrs}++;
}
+ if ( /^rsync error: / || /^rsync warning: / ) {
+ $t->{stats}{xferErrs}++;
+ }
+ if ( /^rsync: send_files failed to open / || /^file has vanished: / ) {
+ $t->{stats}{xferErrs}++;
+ }
if ( /^IOrename:\s(\d+)\s(.*)/ ) {
my $oldName = substr($2, 0, $1);
my $newName = substr($2, $1);