Fixing some lint issues

Signed-off-by: Amim Knabben <amim.knabben@gmail.com>
This commit is contained in:
Amim Knabben
2020-10-02 23:12:29 -04:00
parent bb539a9965
commit 978fa6e906
13 changed files with 35 additions and 23 deletions
+3 -1
View File
@@ -105,7 +105,9 @@ func handleSingle(path string, noStdin bool) error {
if err != nil {
return err
}
console.ClearONLCR(c.Fd())
if err := console.ClearONLCR(c.Fd()); err != nil {
return err
}
// Copy from our stdio to the master fd.
quitChan := make(chan struct{})