mirror of
https://github.com/restic/restic.git
synced 2024-12-22 07:43:03 +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:
parent
1635f072ec
commit
1cf3564dc1
1 changed files with 1 additions and 0 deletions
1
tree.go
1
tree.go
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue