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

fix divide 0 error when caculating disk usage percentage (#791) #879

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

flylai
Copy link
Contributor

@flylai flylai commented Jun 15, 2024

Hi
This PR fixes #791 on Linux(I found the same error code on other platforms, so I fixed them conveniently, but I dont have some device to test them)

before fix:
divide_zero
fixed:
fixed

Copy link
Owner

@aristocratos aristocratos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing!

@aristocratos aristocratos merged commit a703bef into aristocratos:main Jun 24, 2024
52 checks passed
davidaucoin7377

This comment was marked as spam.

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.

[BUG] ramfs showing 'Used: -214'
3 participants