From 32b8c5b8486e2810bc10e246e3fa51415f0dd461 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 20 Jun 2016 21:43:51 -0700 Subject: [PATCH] lnd: fix bug causing help (./lnd -h) to be printed twice --- lnd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnd.go b/lnd.go index 6881be39..c199904c 100644 --- a/lnd.go +++ b/lnd.go @@ -26,13 +26,13 @@ var ( func main() { // Use all processor cores. + // TODO(roasbeef): remove this if required version # is > 1.6? runtime.GOMAXPROCS(runtime.NumCPU()) // Load the configuration, and parse any command line options. This // function will also set up logging properly. loadedConfig, err := loadConfig() if err != nil { - fmt.Printf("unable to load config: %v\n", err) os.Exit(1) } cfg = loadedConfig