2
2
mirror of https://github.com/octoleo/restic.git synced 2024-10-31 19:02:32 +00:00

Fix handling vanished files

This commit is contained in:
Alexander Neumann 2015-01-14 17:48:23 +01:00
parent 4e54c6af2c
commit af43fb3dda

View File

@ -320,7 +320,7 @@ func (arch *Archiver) saveTree(t *Tree) (Blob, error) {
}() }()
var blobs Blobs var blobs Blobs
blobs, node.err = arch.SaveFile(n) blobs, n.err = arch.SaveFile(n)
for _, b := range blobs { for _, b := range blobs {
t.Map.Insert(b) t.Map.Insert(b)
} }