2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 22:50:48 +00:00

This should fix #82

Sockets where just not created, but CreateNodeAt still tried
to run chmod on them.
Now, CreateNodeAt directly returns when finding a socket.
This commit is contained in:
Moritz Holtz 2015-02-02 14:50:31 +01:00
parent 1635f072ec
commit 1cf3564dc1

View File

@ -489,6 +489,7 @@ func (t Tree) CreateNodeAt(node *Node, s Server, path string) error {
}
case "socket":
// nothing to do, we do not restore sockets
return nil
default:
return fmt.Errorf("filetype %q not implemented!\n", node.Type)
}