2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-02 11:58:26 +00:00
Michael Eischer 736e964317 archiver: Don't loose error if background context is canceled
A canceled background context lets the blob/tree/fileSavers exit
without reporting an error. The error handling previously replaced
a 'context canceled' error received by the main backup method with
the error reported by the savers. However, in case of a canceled
background context that error is nil, causing restic to loose the
error and save a snapshot with a nil tree.
2020-12-28 21:06:47 +01:00
..
2020-11-08 08:24:24 +01:00
2018-05-12 23:55:54 +02:00