lnd: fix bug causing help (./lnd -h) to be printed twice

This commit is contained in:
Olaoluwa Osuntokun committed 2016-06-21 13:12:55 -07:00
1 parent cad0d54e43
commit 32b8c5b848
1 file changed
+1 -1
+1 -1
View File
@@ -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