mirror of
https://github.com/restic/restic.git
synced 2026-10-27 02:38:54 +00:00
Checker: handle symlinks
This commit is contained in:
1 parent
a2224e380b
commit
20afed4058
1 file changed
+3
@@ -608,6 +608,9 @@ func (c *Checker) checkTree(id backend.ID, tree *restic.Tree) (errs []error) {
|
||||
continue
|
||||
}
|
||||
|
||||
case "symlink":
|
||||
// nothing to check
|
||||
|
||||
default:
|
||||
errs = append(errs, Error{TreeID: id, Err: fmt.Errorf("node %q with invalid type %q", node.Name, node.Type)})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user