1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

Merge pull request #2640 from blyxxyz/do-not-discard-error

Preserve error message for "other" I/O errors
This commit is contained in:
Sylvestre Ledru 2021-09-07 08:00:23 +02:00 committed by GitHub
commit 7d899372a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -399,7 +399,6 @@ impl Display for UIoError {
TimedOut => "Timed out",
WriteZero => "Write zero",
Interrupted => "Interrupted",
Other => "Other",
UnexpectedEof => "Unexpected end of file",
_ => {
// TODO: using `strip_errno()` causes the error message