diff options
author | mjarkk <mkopenga@gmail.com> | 2018-10-20 17:37:55 +0200 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-10-20 17:37:55 +0200 |
commit | 12425f0aa760759d916ef16bbd028b2c2de5577b (patch) | |
tree | 882223eb8ea4a251a7084597e71743f649da656c /pkg/commands/os.go | |
parent | 727ba9f42ec0678a7da7124f8befc81550361019 (diff) |
First good success
Diffstat (limited to 'pkg/commands/os.go')
-rw-r--r-- | pkg/commands/os.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go index ae7e9c325..a64b286f4 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -92,8 +92,7 @@ func (c *OSCommand) RunCommandWithOutputLive(command string, output func(string) for scanner.Scan() { toWrite := output(re.ReplaceAllString(scanner.Text(), "")) if len(toWrite) > 0 { - _, err := tty.Write([]byte(toWrite + "\n")) - logrus.Error(err.Error()) + _, _ = tty.Write([]byte(toWrite + "\n")) } } }() |