chore(config): fix bad error wrapping
@@ -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
