mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Whoops
This commit is contained in:
parent
26bb17337e
commit
ea9607302a
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -102,7 +102,7 @@ func main() {
|
|||
|
||||
// Warn if ulimit is too low for production sites
|
||||
if (runtime.GOOS == "linux" || runtime.GOOS == "darwin") &&
|
||||
addr.IP.IsLoopback() && !checkedFdLimit {
|
||||
!addr.IP.IsLoopback() && !checkedFdLimit {
|
||||
out, err := exec.Command("ulimit", "-n").Output()
|
||||
if err == nil {
|
||||
// Note that an error here need not be reported
|
||||
|
|
Loading…
Reference in a new issue