Unverified Commit 2e550a16 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #161 from ipfs/fix/go-ipfs-6193

sync: add yet another sync error
parents d5b12fe6 efdc5eab
......@@ -12,7 +12,7 @@ func isErrnoNotSupported(err error) bool {
// Operation not supported
syscall.EINVAL, syscall.EROFS, syscall.ENOTSUP,
// File descriptor doesn't support syncing (found on MacOS).
syscall.ENOTTY,
syscall.ENOTTY, syscall.ENODEV,
// MacOS is weird. It returns EBADF when calling fsync on stdout
// when piped.
//
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment