1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-01-03 05:35:43 +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)
} }