From 6047255449cf405477de0f8d86139a150c8a91af Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Sat, 11 Feb 2017 16:45:23 +0300 Subject: [PATCH] Revert "read response in remote commands" This reverts commit 46a43785319bf0453441050b0b461ab45e7cd443. --- client.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client.go b/client.go index 1674b79..af0a66b 100644 --- a/client.go +++ b/client.go @@ -166,15 +166,5 @@ func sendRemote(cmd string) error { fmt.Fprintln(c, cmd) - s := bufio.NewScanner(c) - - s.Scan() - - fmt.Println(s.Text()) - - if s.Err() != nil { - return fmt.Errorf("reading response: %s", s.Err()) - } - return nil }