summaryrefslogtreecommitdiff
path: root/cmd/client/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/client/main.go')
-rw-r--r--cmd/client/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/client/main.go b/cmd/client/main.go
index 15f33d5..0dbd711 100644
--- a/cmd/client/main.go
+++ b/cmd/client/main.go
@@ -51,5 +51,8 @@ func main() {
socksAddr := net.JoinHostPort(socksHost, socksPort)
c := client.NewClient(kcpTransport, socksAddr, obfs4Cert)
- c.Start()
+ _, err = c.Start()
+ if err != nil {
+ log.Fatal(err)
+ }
}