Maintenance: add revive linter

This commit is contained in:
Quentin McGaw (desktop)
2021-06-20 16:12:39 +00:00
parent d3c63680e8
commit 400affe429
16 changed files with 44 additions and 34 deletions

View File

@@ -327,8 +327,5 @@ func writeOpenvpnConf(lines []string, openFile os.OpenFileFunc) error {
if err != nil {
return err
}
if err := file.Close(); err != nil {
return err
}
return nil
return file.Close()
}