X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=bin%2FBackupPC_ASA_PostArchive_Update;h=8d69bf633febf5c79a974944c7ccb583ba01bbe3;hp=3ffb76318bf7afb3b6e84d0db2732f871fa8febb;hb=6e361dfbcfd712fd68d507a90cf3a0b5f7a089cd;hpb=9f0ea642edefd2f8b6ad9e9f4807e6ab03485da7 diff --git a/bin/BackupPC_ASA_PostArchive_Update b/bin/BackupPC_ASA_PostArchive_Update index 3ffb763..8d69bf6 100755 --- a/bin/BackupPC_ASA_PostArchive_Update +++ b/bin/BackupPC_ASA_PostArchive_Update @@ -263,8 +263,8 @@ sub check_archive { $items++; $tar_size_inarc += $entry->size; - if ($tar_size_inarc > $Conf{MaxArchiveFileSize}) { - print ", part $filename is too big $tar_size_inarc > $Conf{MaxArchiveFileSize}\n"; + if ($tar_size_inarc > $Conf{ArchiveChunkSize}) { + print ", part $filename is too big $tar_size_inarc > $Conf{ArchiveChunkSize}\n"; return 0; }