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:
@@ -138,7 +138,7 @@ func exit(err error) error {
|
||||
if err == nil {
|
||||
return nil
|
||||
}
|
||||
return cli.NewExitError(err, 1)
|
||||
return cli.Exit(err, 1)
|
||||
}
|
||||
|
||||
// stringSliceToMap converts cli.StringSlice to map[string]string for further processing
|
||||
|
Reference in New Issue
Block a user