1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-09 00:00:02 +01:00

Fix 'cat' command for tree blobs

This commit is contained in:
Alexander Neumann 2017-01-30 10:48:21 +01:00
parent 1f9db97d33
commit 41f59ffc78

View file

@ -172,7 +172,7 @@ func runCat(gopts GlobalOptions, args []string) error {
blob := list[0]
buf := make([]byte, blob.Length)
n, err := repo.LoadBlob(restic.DataBlob, id, buf)
n, err := repo.LoadBlob(t, id, buf)
if err != nil {
return err
}