close the single-check conn, don't wait for 8051 for SAM

This commit is contained in:
idk
2020-08-01 23:29:33 -04:00
parent 99a6107a64
commit 4aae53e455

View File

@ -91,7 +91,7 @@ func loopbackInterface() string {
func CheckZeroIsRunning() bool {
conn, err := net.Dial("tcp4", net.JoinHostPort(loopbackInterface(), "8051"))
if err != nil {
return true
log.Println("Connecting error:", err)
}
if conn != nil {
defer conn.Close()