Red Hat Bugzilla – Bug 1265240
ss returns zero (ok) when invalid option is added
Last modified: 2016-05-10 20:19:54 EDT
The same issue on rhel-6.
+++ This bug was initially created as a clone of Bug #1265238 +++
Description of problem:
ss returns zero (ok) when invalid option is added.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# ss --blabla && echo "OK" || echo "FAIL"
ss: unrecognized option '--blabla'
Program returns zero.
Program returns non-zero.
Bug is consistent with upstream, patch sent:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.