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

uucore: Fix return value of ProcessInfomation::tty #6597

Merged
merged 3 commits into from
Jul 28, 2024

Conversation

Krysztal112233
Copy link
Contributor

@Krysztal112233 Krysztal112233 commented Jul 28, 2024

This function never fails, so Result is no longer needed.

The proc-info feature now depends on the tty feature.

In addition, a process will only be bound to one terminal, so the return value should be a Teletype and not a HashSet<Teletype>.

@sylvestre sylvestre merged commit 810ec0f into uutils:main Jul 28, 2024
67 of 68 checks passed
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