0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-02-03 23:09:57 -05:00

Fix lint warning

This commit is contained in:
Matthew Holt 2016-04-15 15:13:44 -06:00
parent ddf4b1fd3b
commit b75016e646

2
dist/automate.go vendored
View file

@ -123,7 +123,7 @@ func (p platform) String() string {
func numProcs() int {
n := runtime.GOMAXPROCS(0)
if n == runtime.NumCPU() && n > 1 {
n -= 1
n--
}
return n
}