2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-04 12:58:27 +00:00
Rached Ben Mustapha ba35ca522a Handle pack loading errors in rebuild-index
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.
2016-02-07 18:30:47 +00:00
..
2014-12-05 21:45:49 +01:00
2015-12-06 17:29:31 +01:00
2015-10-25 13:19:35 +01:00
2015-08-28 19:31:05 +02:00
2015-11-13 12:33:59 +01:00
2015-08-14 15:33:11 +02:00
2015-11-13 12:33:59 +01:00
2015-07-26 14:56:34 +02:00
2015-06-24 20:29:58 +02:00
2015-05-09 13:00:01 +02:00
2016-01-17 18:48:05 +01:00
2015-07-19 17:50:55 +02:00
2016-01-17 18:48:05 +01:00