diff --git a/mantle/cmd/kola/devshell.go b/mantle/cmd/kola/devshell.go index 665cc64c97..3593d34ea4 100644 --- a/mantle/cmd/kola/devshell.go +++ b/mantle/cmd/kola/devshell.go @@ -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)