- fixed a typo that caused incPartsUpdate not to work properly
authoriklaric <iklaric@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Thu, 17 May 2007 07:21:00 +0000 (07:21 +0000)
committeriklaric <iklaric@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Thu, 17 May 2007 07:21:00 +0000 (07:21 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@383 8392b6e1-25fa-0310-8288-cc32f8e212ea

bin/BackupPC_incPartsUpdate

index 690795a..21a2759 100755 (executable)
@@ -418,7 +418,7 @@ while (my $row = $sth->fetchrow_hashref) {
        # this will return -1 if file doesn't exist
        my $size = BackupPC::SearchLib::get_tgz_size_by_name($tar_file);
 
-       print "# host: ".${row->{host}}.", share: ".$row->{'share'}.", backup_num:".$row->{num}." size: $size backup.size: ", $row->{inc_size},"\n" if ($opt{d});
+       print "# host: ".$row->{host}.", share: ".$row->{'share'}.", backup_num:".$row->{num}." size: $size backup.size: ", $row->{inc_size},"\n" if ($opt{d});
 
        if ( $row->{'inc_size'} != -1 && $size != -1 && $row->{'inc_size'} >= $size && $row->{parts} == $row->{backup_parts}) {
                if ($check) {