fatal error if the system can't set a rlimit
This commit is contained in:
parent
2b2c1c7314
commit
53841e02bd
|
@ -83,7 +83,7 @@ func (r *realize) Increase() {
|
|||
rLimit.Cur = r.Limit
|
||||
err := syscall.Setrlimit(syscall.RLIMIT_NOFILE, &rLimit)
|
||||
if err != nil {
|
||||
fmt.Println(c.Red("Error Setting Rlimit "), err)
|
||||
log.Fatal(c.Red("Error Setting Rlimit "), err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue