prune: no longer disable automatic index updates

this allows prune to resume an interrupted prune run.
This commit is contained in:
Michael Eischer
2024-05-19 19:10:08 +02:00
parent 9aa0c90fb2
commit 68fa0e0305
3 changed files with 0 additions and 18 deletions

View File

@@ -200,8 +200,5 @@ func (r *Repository) savePacker(ctx context.Context, t restic.BlobType, p *packe
r.idx.StorePack(id, p.Packer.Blobs())
// Save index if full
if r.noAutoIndexUpdate {
return nil
}
return r.idx.SaveFullIndex(ctx, r)
}