mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
viper ConfigFileUsed instead of env.
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ func init() {
|
||||
if file == "" {
|
||||
logger.Warn().Msg("preflight complete without config file")
|
||||
} else {
|
||||
if _, err := os.Stat(config); os.IsNotExist(err) {
|
||||
if _, err := os.Stat(file); os.IsNotExist(err) {
|
||||
logger.Error().Msg("preflight complete with nonexistent config file")
|
||||
} else {
|
||||
logger.Info().Msg("preflight complete")
|
||||
|
||||
Reference in New Issue
Block a user