Created attachment 1524992 [details] Patch +++ This bug was initially created as a clone of Bug #1670355 +++ +++ This bug was initially created as a clone of Bug #1427889 +++ Description of problem: Exit codes for many net-tools binaries are 0 when using wrong parameters. Version-Release number of selected component (if applicable): net-tools-2.0-0.52.20160912git.el8 How reproducible: Always Steps to Reproduce: 1. Run any of the following: #netstat wrongoption #arp --wrongoption #ipmaddr wrongoption #ipmaddr --wrongoption #iptunnel wrongoption #iptunnel --wrongoption #nameif wrongoption #nameif --wrongoption #plipconfig --wrongoption #route --wrongoption #slattach --wrongoption 2. #echo $? Actual results: Help gets printed every time but return code is 0, not 3(E_OPTERR). Expected results: Nonzero return codes.
net-tools-2.0-0.54.20160912git.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fc4efcf143
net-tools-2.0-0.53.20160912git.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2628921602
net-tools-2.0-0.51.20160912git.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-15a77b9ac4
net-tools-2.0-0.51.20160912git.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-15a77b9ac4
net-tools-2.0-0.53.20160912git.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2628921602
net-tools-2.0-0.54.20160912git.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-fc4efcf143
net-tools-2.0-0.53.20160912git.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
net-tools-2.0-0.51.20160912git.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
net-tools-2.0-0.54.20160912git.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.