diff --git a/config.go b/config.go index f7e9d77..1945289 100644 --- a/config.go +++ b/config.go @@ -18,9 +18,9 @@ type Config struct { func validateConfigEntry(entry string, name string) bool { if entry == "" { log.Printf("Error: %v unset", name) - return false + return true } - return true + return false } func LoadConfig() (*Config, error) {