mirror of
https://github.com/restic/restic.git
synced 2025-12-24 08:39:43 -05:00
Since #3940 the rclone backend returns the commands exit code if it fails to start. The list of expected errors was missing the "file already closed"-error which can occur if the http test request first learns about the closed pipe to rclone before noticing the canceled context. Go internally makes sure that a file descriptor is unusable once it was closed, thus this cannot have unintended side effects (like accidentally reading from the wrong file due to a reused file descriptor). |
||
|---|---|---|
| .. | ||
| backend.go | ||
| backend_test.go | ||
| config.go | ||
| config_test.go | ||
| internal_test.go | ||
| stdio_conn.go | ||