diff --git a/cmd/server.go b/cmd/server.go index bb4e162..20c695f 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -59,8 +59,8 @@ func server(cmd *cobra.Command) { cobra.CheckErr(err) fmt.Printf("Listening on port %v...\n", lport) for { - conn, _ := ln.Accept() - //cobra.CheckErr(err) + conn, err := ln.Accept() + cobra.CheckErr(err) go handleConn(conn) }