X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=bin%2FBackupPC_ASA_PostArchive_Update;h=8b31d6f3593e049c675972b21a22ba9a4333046b;hp=8d69bf633febf5c79a974944c7ccb583ba01bbe3;hb=82e0865206e333617a348b146647760cf7003592;hpb=911e2c66c4affdbeb576215696d1339a33010f53 diff --git a/bin/BackupPC_ASA_PostArchive_Update b/bin/BackupPC_ASA_PostArchive_Update index 8d69bf6..8b31d6f 100755 --- a/bin/BackupPC_ASA_PostArchive_Update +++ b/bin/BackupPC_ASA_PostArchive_Update @@ -301,7 +301,7 @@ sub check_archive { check_part($host, $num, $part_nr, $tar_size, $size, $md5, $items); # round increment size to 2k block size - $inc_size += int(($size + 2048) / 2048); + $inc_size += int((($size + 2048) / 2048 ) * 2048); } $sth_inc_size->execute(