mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
update for smartos build (solaris too) (#10378)
This commit is contained in:
@@ -83,7 +83,7 @@ func readDirN(dirPath string, count int) (entries []string, err error) {
|
||||
}
|
||||
return nil, osErrToFileErr(err)
|
||||
}
|
||||
if count > 0 {
|
||||
if count > -1 {
|
||||
if remaining <= len(fis) {
|
||||
fis = fis[:remaining]
|
||||
done = true
|
||||
|
||||
Reference in New Issue
Block a user