Skip to content

Commit 2e550a1

Browse files
authored
Merge pull request #161 from ipfs/fix/go-ipfs-6193
sync: add yet another sync error
2 parents d5b12fe + efdc5ea commit 2e550a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/error_posix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func isErrnoNotSupported(err error) bool {
1212
// Operation not supported
1313
syscall.EINVAL, syscall.EROFS, syscall.ENOTSUP,
1414
// File descriptor doesn't support syncing (found on MacOS).
15-
syscall.ENOTTY,
15+
syscall.ENOTTY, syscall.ENODEV,
1616
// MacOS is weird. It returns EBADF when calling fsync on stdout
1717
// when piped.
1818
//

0 commit comments

Comments
 (0)