devshell: Don't print error on EOF from serial console
It's a normal thing on termination.
@@ -194,7 +194,9 @@ WantedBy=multi-user.target`, readinessSignalChan)
for {
buf, err := bufr.ReadString('\n')
if err != nil {
+ if err != io.EOF {
fmt.Fprintf(os.Stderr, "devshell reading serial console: %v\n", err)
+ }
break
}
serialChan <- string(buf)
