From 0f9fc42a0618490037cc5f076c2224cb5c801011 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Wed, 2 Sep 2015 17:13:01 -0500 Subject: [PATCH] Output error to stderr if the limits can't be set. --- btcd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/btcd.go b/btcd.go index a3274232..ccb52f22 100644 --- a/btcd.go +++ b/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) }