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:
parent
c1acd13c76
commit
69d2340cf2
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue