1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Merge branch 'master' into tlim_corrector

This commit is contained in:
Tom Limoncelli
2023-03-09 05:18:52 -08:00
3 changed files with 15 additions and 15 deletions

View File

@ -497,10 +497,12 @@ func printOrRunCorrections(domain string, provider string, corrections []*models
if interactive && !out.PromptToRun() {
continue
}
err = correction.F()
out.EndCorrection(err)
if err != nil {
anyErrors = true
if correction.F != nil {
err = correction.F()
out.EndCorrection(err)
if err != nil {
anyErrors = true
}
}
}
notifier.Notify(domain, provider, correction.Msg, err, !push)