Output error to stderr if the limits can't be set.
This commit is contained in:
parent
4e34a462eb
commit
0f9fc42a06
1 changed files with 1 additions and 0 deletions
1
btcd.go
1
btcd.go
|
@ -141,6 +141,7 @@ func main() {
|
|||
|
||||
// Up some limits.
|
||||
if err := limits.SetLimits(); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "failed to set limits: %v\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue