1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-08 17:55:59 +01:00
galene/limit/limit.go
Juliusz Chroboczek 4cdeb1778f Disable ulimit checking on non-Linux unices.
The code turned out not to port to FreeBSD.  Disable the check,
and assume that FreeBSD admins read the docs.

Thanks to Amatis-51.
2022-11-12 12:26:21 +01:00

7 lines
102 B
Go

// +build !linux
package limit
func Nofile(desired uint64) (uint64, error) {
return desired, nil
}