Skip to content

Commit

Permalink
Merge pull request restic#2261 from lorenzbausch/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
fd0 committed May 4, 2019
2 parents 37cb82b + 298f490 commit 7dcd296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/restic/cmd_dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func printFromTree(ctx context.Context, tree *restic.Tree, repo restic.Repositor
node.Path = pathToPrint
return tarTree(ctx, repo, node, pathToPrint)
case l > 1:
return fmt.Errorf("%q should be a dir, but s a %q", item, node.Type)
return fmt.Errorf("%q should be a dir, but is a %q", item, node.Type)
case node.Type != "file":
return fmt.Errorf("%q should be a file, but is a %q", item, node.Type)
}
Expand Down

0 comments on commit 7dcd296

Please sign in to comment.