Skip to content

Commit

Permalink
Merge pull request #161 from ipfs/fix/go-ipfs-6193
Browse files Browse the repository at this point in the history
sync: add yet another sync error
  • Loading branch information
Stebalien authored Apr 9, 2019
2 parents d5b12fe + efdc5ea commit 2e550a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/error_posix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down

0 comments on commit 2e550a1

Please sign in to comment.