forked from TrueCloudLab/restic
Fix 'cat' command for tree blobs
This commit is contained in:
parent
1f9db97d33
commit
41f59ffc78
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ func runCat(gopts GlobalOptions, args []string) error {
|
||||||
blob := list[0]
|
blob := list[0]
|
||||||
|
|
||||||
buf := make([]byte, blob.Length)
|
buf := make([]byte, blob.Length)
|
||||||
n, err := repo.LoadBlob(restic.DataBlob, id, buf)
|
n, err := repo.LoadBlob(t, id, buf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue