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

df: show error if provided block size is zero #3514

Merged
merged 1 commit into from
May 12, 2022

Conversation

cakebaker
Copy link
Contributor

Show an invalid --block-size argument '0' error, instead of crashing because of a division by zero, if the user provides 0 as block size argument

@sylvestre sylvestre force-pushed the show_error_if_blocksize_is_zero branch from 8cd2d36 to dc309e4 Compare May 10, 2022 17:32
@sylvestre sylvestre force-pushed the show_error_if_blocksize_is_zero branch from dc309e4 to a6b100a Compare May 11, 2022 10:59
@sylvestre sylvestre merged commit d8dae53 into uutils:main May 12, 2022
@cakebaker cakebaker deleted the show_error_if_blocksize_is_zero branch May 12, 2022 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants