From 298f490195706e61afdd3d9f5e9ae01f6be11122 Mon Sep 17 00:00:00 2001 From: Lorenz Bausch Date: Thu, 2 May 2019 11:51:35 +0200 Subject: [PATCH] Fix typo --- cmd/restic/cmd_dump.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/cmd_dump.go b/cmd/restic/cmd_dump.go index ba21c8ea6..157b39403 100644 --- a/cmd/restic/cmd_dump.go +++ b/cmd/restic/cmd_dump.go @@ -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) }