2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-03 09:30:50 +00:00

Checker: handle symlinks

This commit is contained in:
Alexander Neumann 2016-05-08 23:16:01 +02:00
parent a2224e380b
commit 20afed4058

View File

@ -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)})
}