diff --git a/phases.go b/phases.go index 6a7f25e..ffb8db3 100644 --- a/phases.go +++ b/phases.go @@ -129,15 +129,15 @@ func (this *environment) phase30ConfigurationParsing() bool { log.Println("!!! (30) could not determine location of file(s):", err) return true } + if this.flags.configFile != "" { + paths = append(paths, this.flags.configFile) + } if this.Verb() { log.Println("(i) (30) have configuration files:") for _, paths := range paths { log.Println("(i) (30) -", paths) } } - if this.flags.configFile != "" { - paths = append(paths, this.flags.configFile) - } // parse every config and merge them all configs := make([]iniConfig, 0, len(paths)) for _, path := range paths {