forked from TrueCloudLab/restic
Merge pull request #3149 from aawsome/fix-rebuild-index
Bugfix for rebuild-index
This commit is contained in:
commit
3264eae9f6
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ func rebuildIndex(opts RebuildIndexOptions, gopts GlobalOptions, repo *repositor
|
||||||
size, ok := packSizeFromIndex[id]
|
size, ok := packSizeFromIndex[id]
|
||||||
if !ok || size != packSize {
|
if !ok || size != packSize {
|
||||||
// Pack was not referenced in index or size does not match
|
// Pack was not referenced in index or size does not match
|
||||||
packSizeFromList[id] = size
|
packSizeFromList[id] = packSize
|
||||||
removePacks.Insert(id)
|
removePacks.Insert(id)
|
||||||
}
|
}
|
||||||
totalPacks++
|
totalPacks++
|
||||||
|
|
Loading…
Reference in a new issue