mirror of
https://github.com/restic/restic.git
synced 2025-03-13 16:20:52 +00:00

bazil/fuse expects us to return context.Canceled to signal that a syscall was successfully interrupted. Returning a wrapped version of that error however causes the fuse library to signal an EIO (input/output error). Thus unwrap context.Canceled errors before returning them.