Skip to content

Commit

Permalink
devshell: Don't print error on EOF from serial console
Browse files Browse the repository at this point in the history
It's a normal thing on termination.
  • Loading branch information
cgwalters authored and openshift-merge-robot committed Apr 29, 2020
1 parent e89b75d commit 5a3a464
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mantle/cmd/kola/devshell.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ WantedBy=multi-user.target`, readinessSignalChan)
for {
buf, err := bufr.ReadString('\n')
if err != nil {
fmt.Fprintf(os.Stderr, "devshell reading serial console: %v\n", err)
if err != io.EOF {
fmt.Fprintf(os.Stderr, "devshell reading serial console: %v\n", err)
}
break
}
serialChan <- string(buf)
Expand Down

0 comments on commit 5a3a464

Please sign in to comment.