mirror of
https://github.com/restic/rest-server.git
synced 2026-09-29 07:21:26 -07:00
Port fsync error handling from restic
This ignores several different combinations of errnos which are returned if the storage destination is not able to fsync correctly. See also https://github.com/restic/restic/pull/4021
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package repo
|
||||
|
||||
// Windows is not macOS.
|
||||
func isMacENOTTY(err error) bool { return false }
|
||||
Reference in New Issue
Block a user