diff --git a/internal/configuration/selection.go b/internal/configuration/selection.go index e2318e30..eaaa8d38 100644 --- a/internal/configuration/selection.go +++ b/internal/configuration/selection.go @@ -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