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

Add flush after calculating factor #4776

Merged
merged 1 commit into from
Apr 24, 2023
Merged

Conversation

vikiminki
Copy link

When running factor without an argument, results are never printed. In that case, the stdout writer is never flushed since it's flushed at the end of the handling. I added a flush after a write to the buffer, and now it works as expected.

@cakebaker cakebaker merged commit f9b60c4 into uutils:main Apr 24, 2023
@cakebaker
Copy link
Contributor

Thanks for your PR!

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.

2 participants