1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-16 00:00:05 +01:00

return error for symlink case

This commit is contained in:
jgfrm 2017-02-11 20:38:09 +01:00
parent c1acd13c76
commit 69d2340cf2

View file

@ -566,6 +566,10 @@ func (node *Node) fillExtra(path string, fi os.FileInfo) error {
default:
return errors.Errorf("invalid node type %q", node.Type)
}
if err {
return err
}
if err = node.fillExtendedAttributes(path); err != nil {
return err