diff --git a/cmd/kopia/objref.go b/cmd/kopia/objref.go index cef97230f..cd7ba101d 100644 --- a/cmd/kopia/objref.go +++ b/cmd/kopia/objref.go @@ -47,7 +47,7 @@ func parseNestedObjectID(current repo.ObjectID, id string, r repo.Repository) (r dir, err := fs.ReadDirectory(d, "") if err != nil { - return "", fmt.Errorf("entry not found '%v': parent is not a directory.", head) + return "", fmt.Errorf("entry not found '%v': parent is not a directory", head) } e := dir.FindByName(head)