mirror of
https://github.com/restic/restic.git
synced 2026-07-09 16:55:10 +00:00
Update modified files, store error message
This commit is contained in:
@@ -99,7 +99,7 @@ func fsckTree(opts CmdFsck, ch *restic.ContentHandler, id backend.ID) error {
|
||||
|
||||
switch node.Type {
|
||||
case "file":
|
||||
if node.Content == nil {
|
||||
if node.Content == nil && node.Error == "" {
|
||||
return fmt.Errorf("file node %q of tree %v has no content", node.Name, id)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user