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

Security: Fix many staticcheck warnings

This commit is contained in:
Tom Limoncelli
2021-12-14 09:47:32 -05:00
parent e3cd40a1a8
commit 7ae27aa0b9
8 changed files with 16 additions and 15 deletions

View File

@@ -36,6 +36,9 @@ func LoadProviderConfigs(fname string) (map[string]map[string]string, error) {
} else {
// no executable bit found nor marked as executable so read it in
dat, err = readCredsFile(fname)
if err != nil {
return nil, err
}
}
s := string(dat)