forked from TrueCloudLab/restic
Checker: handle symlinks
This commit is contained in:
parent
a2224e380b
commit
20afed4058
1 changed files with 3 additions and 0 deletions
|
@ -608,6 +608,9 @@ func (c *Checker) checkTree(id backend.ID, tree *restic.Tree) (errs []error) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "symlink":
|
||||||
|
// nothing to check
|
||||||
|
|
||||||
default:
|
default:
|
||||||
errs = append(errs, Error{TreeID: id, Err: fmt.Errorf("node %q with invalid type %q", node.Name, node.Type)})
|
errs = append(errs, Error{TreeID: id, Err: fmt.Errorf("node %q with invalid type %q", node.Name, node.Type)})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue