mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
cmd/os-readdir_other.go - return nil with err (#11772)
This commit is contained in:
parent
910097bbbc
commit
75db500e85
@ -126,7 +126,7 @@ func readDirN(dirPath string, count int) (entries []string, err error) {
|
||||
isSysErrTooManySymlinks(err) {
|
||||
continue
|
||||
}
|
||||
return err
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Ignore symlinked directories.
|
||||
|
Loading…
Reference in New Issue
Block a user