chore: ignore read errors

This commit is contained in:
andig 2023-11-13 08:27:39 +01:00
parent 5d0caa88d7
commit e9ab1ed13d

View file

@ -21,7 +21,7 @@ func readSerial() (string, error) {
})
b := make([]byte, 512)
n, err := f.Read(b)
n, _ := f.Read(b)
return string(b[:n]), err
return string(b[:n]), nil
}