Output error to stderr if the limits can't be set.

This commit is contained in:
Dave Collins 2015-09-02 17:13:01 -05:00
parent 4e34a462eb
commit 0f9fc42a06

View file

@ -141,6 +141,7 @@ func main() {
// Up some limits. // Up some limits.
if err := limits.SetLimits(); err != nil { if err := limits.SetLimits(); err != nil {
fmt.Fprintf(os.Stderr, "failed to set limits: %v\n", err)
os.Exit(1) os.Exit(1)
} }