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);