Skip to content

Commit

Permalink
Merge pull request #12 from satta/configmissing
Browse files Browse the repository at this point in the history
do not fail when no config file can be read
  • Loading branch information
Robert Haist authored Nov 12, 2018
2 parents 97f0afd + a9091eb commit b8370fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/fever/cmds/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,5 @@ func initConfig() {
// If a config file is found, read it in.
if err := viper.ReadInConfig(); err == nil {
log.Infof("Using config file: %s", viper.ConfigFileUsed())
} else {
log.Fatalf("Error reading config file: %s", err)
}
}

0 comments on commit b8370fb

Please sign in to comment.