diff --git a/cmd/posix.go b/cmd/posix.go index e6a432ff4..4df2bffdf 100644 --- a/cmd/posix.go +++ b/cmd/posix.go @@ -1608,6 +1608,7 @@ func (s *posix) RenameFile(srcVolume, srcPath, dstVolume, dstPath string) (err e } else if isSysErrIO(err) { return errFaultyDisk } + return err } srcIsDir := HasSuffix(srcPath, SlashSeparator)