iproute2: exit code fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ip: document exit codeman/ | +4 | 1 reply | |
| 2/4 | ip: return correct exit code on route failureip/ | +1 | 2 replies | |
| 3/4 | ip: fix exit code for rule failuresip/ | +1 | 0 replies | |
| 4/4 | ip: fix exit code for addrlabelip/ | +3 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Roopa Prabhu |
|---|---|
| 1/4 | |
| 2/4 | A-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] iproute2: exit code fixes
The exit code for ip command has always been 0 on success, 1 on syntax error, and 2 on kernel (netlink) error; but it isn't documented and there were some regressions and places it was not being done correctly.
Stephen Hemminger (4):
ip: document exit code
ip: return correct exit code on route failure
ip: fix exit code for rule failures
ip: fix exit code for addrlabel
ip/ipaddrlabel.c | 6 +++--- ip/iproute.c | 2 +- ip/iprule.c | 2 +- man/man8/ip.8 | 4 ++++ 4 files changed, 9 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.4