From 82e0865206e333617a348b146647760cf7003592 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 28 Jan 2011 15:19:16 +0100 Subject: [PATCH 1/1] fix inc_size --- bin/BackupPC_ASA_PostArchive_Update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.20.1