Hide Forgot
s/ DIAGNOSTICS All tools return a status code of zero on success or non-zero on fail- ure. / DIAGNOSTICS All tools return a status code of zero on success or non-zero on fail- ure. Non-zero exit codes may change and should not be assumed to imply specific errors. /
agk, can you look over the proposed change above? If you are happy with it, let's check it in. It should prevent other users from assuming exit values mean specific things.
Text extended in 2.02.165
Verified new warning about the dynamic nature of exit codes/messages: 3.10.0-501.el7.x86_64 lvm2-2.02.165-1.el7 BUILT: Wed Sep 7 11:04:22 CDT 2016 DIAGNOSTICS All tools return a status code of zero on success or non-zero on failure. The non-zero codes distinguish only between the broad categories of unrecognised commands, problems processing the command line arguments and any other failures. As LVM remains under active development, the code used in a specific case occasionally changes between releases. Message text may also change.
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. https://rhn.redhat.com/errata/RHBA-2016-1445.html