mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-14 12:30:04 +02:00
Maintenance: add revive linter
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user