prefixes: Add 'resolver-blocked.txt' config

This commit is contained in:
Tom Wiesing 2022-09-21 16:04:22 +02:00
parent 6f2ba18227
commit 3be5e85ef7
No known key found for this signature in database
12 changed files with 95 additions and 19 deletions

View file

@ -53,7 +53,9 @@ func (upc updateprefixconfig) Run(context wisski_distillery.Context) error {
// read the prefix config
data, err := instance.PrefixConfig()
if err != nil {
return err
data = "# error, skipped\n"
context.EPrintln(err)
err = nil
}
context.IOStream.Printf("%s", data)