only warns about missing config if its not there

main
Marvin Preuss 3 years ago
parent 853c7734e6
commit 4aadfe3def

@ -115,7 +115,7 @@ func initConfig(fatal bool) {
// Parse config file.
if cfgFile == "" && fatal {
logger.Fatal().Msg("missing config file")
} else {
} else if cfgFile == "" {
logger.Warn().Msg("missing config file")
}

Loading…
Cancel
Save