config fix

This commit is contained in:
stryan 2020-08-20 13:06:44 -04:00
parent 21c22e7121
commit 43f1198b0c

View File

@ -18,9 +18,9 @@ type Config struct {
func validateConfigEntry(entry string, name string) bool { func validateConfigEntry(entry string, name string) bool {
if entry == "" { if entry == "" {
log.Printf("Error: %v unset", name) log.Printf("Error: %v unset", name)
return false return true
} }
return true return false
} }
func LoadConfig() (*Config, error) { func LoadConfig() (*Config, error) {