summaryrefslogtreecommitdiff
path: root/internal/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/server.go')
-rw-r--r--internal/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index ef02612..daaa7a6 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -294,7 +294,7 @@ func Config(server Server, wireguardSupport bool, preferTCP bool) (*ConfigData,
cfg, err = openVPNGetConfig(server, preferTCP)
// The config supports no available protocol because the profile only supports WireGuard but the client doesn't
default:
- return nil, errors.Errorf("no supported protocol found")
+ return nil, errors.New("no supported protocol found")
}
// Add script security 0 to disable OpenVPN scripts