Fix some misleading log messages

pull/25/head
Vasile Popescu 4 years ago committed by Elis Popescu
parent cf40aea3a2
commit 3230cee786

@ -181,7 +181,6 @@ Flags:
go func() { go func() {
_, err := io.Copy(mw, ptyMaster) _, err := io.Copy(mw, ptyMaster)
if err != nil { if err != nil {
log.Error("Lost connection with the server.\n")
ptyMaster.Stop() ptyMaster.Stop()
} }
}() }()
@ -191,6 +190,6 @@ Flags:
}() }()
ptyMaster.Wait() ptyMaster.Wait()
fmt.Printf("tty-share finished\n\n") fmt.Printf("tty-share finished\n\n\r")
server.Stop() server.Stop()
} }

Loading…
Cancel
Save