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

Throw error if tc interface retrieval fails #56

Merged
merged 3 commits into from Mar 19, 2021

Conversation

radum
Copy link
Contributor

@radum radum commented Mar 18, 2021

On Linux if net-tools are not installed tc will fail to get the default interface using the route command. Or it might fail for any other reason.

This commit adds a safeguard to bug out on err and displays the actual stderr received instead of hiding it.

Closes: #55

On Linux if `net-tools` are not installed `tc` will fail to get the default interface using the `route` command. Or it might fail for any other reason.

This commit adds a safeguard to bug out on err and displays the actual stderr received instead of hiding it.
@soulgalore soulgalore merged commit fede6e8 into sitespeedio:main Mar 19, 2021
@soulgalore
Copy link
Member

Thank you @radum !

@radum radum deleted the patch-1 branch March 19, 2021 21: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.

RTNETLINK answers: No such device
2 participants