mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 09:47:58 +00:00
cache sync: fix incorrect .integrity location for .compact
This commit is contained in:
parent
3789459a41
commit
92a01f9d6c
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ def write_archive_index(archive_id, chunk_idx):
|
|||
fn_tmp = mkpath(archive_id, suffix='.tmp')
|
||||
try:
|
||||
with DetachedIntegrityCheckedFile(path=fn_tmp, write=True,
|
||||
filename=bin_to_hex(archive_id)) as fd:
|
||||
filename=bin_to_hex(archive_id) + '.compact') as fd:
|
||||
chunk_idx.write(fd)
|
||||
except Exception:
|
||||
os.unlink(fn_tmp)
|
||||
|
|
Loading…
Reference in a new issue