From f7387f217abfe1cd471b31f7e5492df81bb0d722 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 19 Aug 2013 14:48:46 -0500 Subject: [PATCH] Remove current directory config autoload override. This was a holder from before there was home directory based config. The user can use -C ./btcd.conf if that is the intended goal. --- config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config.go b/config.go index 2d6b8245..e2596410 100644 --- a/config.go +++ b/config.go @@ -179,11 +179,6 @@ func loadConfig() (*config, []string, error) { DbDir: defaultDbDir, } - // A config file in the current directory takes precedence. - if fileExists(defaultConfigFilename) { - cfg.ConfigFile = defaultConfigFilename - } - // Pre-parse the command line options to see if an alternative config // file or the version flag was specified. preCfg := cfg