ports/sysutils/backuppc/files/patch-lib_BackupPC_Xfer_Smb.pm
Kirill Ponomarev 7b04f2e848 - Update sysutils/backuppc to 3.3.2
- Initialize options helpers

PR:		216875
Submitted by:	moiseev@mezonplus.ru
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9472
2017-02-07 14:39:36 +00:00

12 lines
602 B
Perl

--- lib/BackupPC/Xfer/Smb.pm.orig 2017-02-06 08:40:41 UTC
+++ lib/BackupPC/Xfer/Smb.pm
@@ -242,7 +242,8 @@ sub readOutput
$t->{xferOK} = 1;
$t->{byteCnt} = $1;
$t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
- } elsif ( /^\s*tar: restored \d+ files/ ) {
+ } elsif ( /^\s*tar: restored \d+ files/
+ || /^\s*tar:\d+\s*tar_process done, err = 0/ ) {
$t->{xferOK} = 1;
$t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
} elsif ( /^\s*read_socket_with_timeout: timeout read. /i ) {