chore(config): fix bad error wrapping

This commit is contained in:
Quentin McGaw
2021-11-17 22:32:33 +00:00
parent 8dc54a7c44
commit 80f6b78332

View File

@@ -138,7 +138,7 @@ func (settings *OpenVPNSelection) readProtocolAndPort(r reader) (err error) {
settings.CustomPort, err = readOpenVPNCustomPort(r, openvpnPortValidation{allAllowed: true})
if err != nil {
return fmt.Errorf("environment variable PORT: %w", err)
return err
}
return nil