The Wayback Machine - https://web.archive.org/web/20220412145842/https://github.com/uutils/coreutils/issues/3389
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

du: use UResult instead of the set_exit_code #3389

Open
sylvestre opened this issue Apr 12, 2022 · 1 comment
Open

du: use UResult instead of the set_exit_code #3389

sylvestre opened this issue Apr 12, 2022 · 1 comment
Labels
good first issue

Comments

@sylvestre
Copy link
Contributor

@sylvestre sylvestre commented Apr 12, 2022

tertsdiepraam: I think this can be cleaned up some more with UResult, which will print the right error message automatically when converting from an io::Error. However, that is a more involved refactor, so I'll approve and leave it up to you whether you want to do this.

Originally posted by @tertsdiepraam in #3382 (comment)

@sylvestre sylvestre changed the title du: use UResult of the set_exit_code du: use UResult instead of the set_exit_code Apr 12, 2022
@sylvestre sylvestre added the good first issue label Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue
Projects
None yet
Development

No branches or pull requests

1 participant