mirror of
https://github.com/octoleo/restic.git
synced 2025-01-23 15:18:31 +00:00
ba35ca522a
Errors returned from backend.LoadAll() were not handled, leading to these fatal errors from the unpacker trying to read the size from the end of an empty buffer: `seeking to read header length failed: bytes.Reader.Seek: negative position` This change takes care of returning on error, as well as showing which pack failed to load and validating pack integrity.