mirror of
https://github.com/restic/restic.git
synced 2026-05-07 02:55:24 +00:00
fc60b560ba
If the context was canceled then saveTree might receive a treeID or not depending on the timing. This could cause saveTree to incorrectly return a nil treeID as valid. Fix this always returning an error when the context was canceled in the meantime.