Revert "read response in remote commands"

This reverts commit 46a4378531.
This commit is contained in:
Gokcehan 2017-02-11 16:45:23 +03:00
parent 68b9a5a04e
commit 6047255449

View File

@ -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
}