diff --git a/lib/config.go b/lib/config.go index 3254778..ef8b9cb 100644 --- a/lib/config.go +++ b/lib/config.go @@ -52,10 +52,8 @@ func LoadConfig(config string) { if config == "" { config = getConfigFile("config.toml") } - configRaw, err := os.ReadFile(config) - if err != nil { - log.Fatalf("could not read file: %v", err) - } + // ignore error since we can just use the default config + configRaw, _ := os.ReadFile(config) if err := toml.Unmarshal(configRaw, &UserConfig); err != nil { log.Fatalf("could not unmarshal config: %v", err)