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

tcdel --tc-command returns non-zero on exit #142

Closed
Mnkras opened this issue Jul 13, 2020 · 1 comment
Closed

tcdel --tc-command returns non-zero on exit #142

Mnkras opened this issue Jul 13, 2020 · 1 comment
Assignees
Labels

Comments

@Mnkras
Copy link
Contributor

Mnkras commented Jul 13, 2020

It looks like tcdel --tc-command returns a non-zero exit status even though it was successful.
While using --tc-command it shouldn't ever return something besides 0.

This makes automating around it very painful

$ tcdel --tc-command veth1
/sbin/tc qdisc del dev veth1 root
/sbin/tc qdisc del dev veth1 ingress
/sbin/tc qdisc del dev ifb7272 root
/bin/ip link set dev ifb7272 down
/bin/ip link delete ifb7272 type ifb
$ echo $?
1
@Mnkras Mnkras changed the title tcdel --tc-command returns non-zero exit command tcdel --tc-command returns non-zero on exit Jul 13, 2020
@thombashi thombashi self-assigned this Jul 19, 2020
@thombashi thombashi added the bug label Jul 19, 2020
thombashi added a commit that referenced this issue Jul 19, 2020
when execute with --tc-command/--tc-script.
@thombashi
Copy link
Owner

@Mnkras
Thank you for your report.

The problem has fixed at tcconfig 0.25.3.
Please upgrade the package.

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