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

Return value when tcset faild #71

Closed
twdkeule opened this issue Jun 7, 2017 · 2 comments
Closed

Return value when tcset faild #71

twdkeule opened this issue Jun 7, 2017 · 2 comments
Assignees
Labels

Comments

@twdkeule
Copy link

twdkeule commented Jun 7, 2017

When tcset fails because there is already a qdisc, the return value is zero, indicating succes.

$ sudo tcset --device lo --rate 10M; echo $?
[NOTICE] tcconfig: failed to add qdisc: qdisc already exists (dev lo, handle=17ce:, algo=htb). execute with --overwrite option if you want to overwrite the existing rules.execute with --add option if you want to add a new rule in addition to the existing rules.
0
@thombashi thombashi self-assigned this Jun 7, 2017
@thombashi thombashi added the bug label Jun 7, 2017
@thombashi
Copy link
Owner

Thank you for your report.

I will fix this along with #68 and #70.

@thombashi
Copy link
Owner

I've fixed the problem at tcconfig 0.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants