mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13:16 -05:00
posix: Add missing error return in RenameFile() (#9319)
Although it should not happen in most cases.
This commit is contained in:
parent
b2a8cb4aba
commit
c434dff0a4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user