[Bug 446294] incorrect exit from 'ls'

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 21 18:40:35 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=446294





--- Comment #11 from Greg Metcalfe <metcalfegreg at qwest.net>  2008-08-21 14:40:34 EDT ---
Current man page says:
Exit status is 0 if OK, 1 if minor problems, 2 if serious trouble.
Current info page says:
0 success
1 minor problems (e.g., a subdirectory was not found)
2 serious trouble (e.g., memory exhausted)

How about:
Exit status is 0 if OK. 1 if minor problems, e.g. failure to stat a non-command
line file or directory. 2 if serious trouble, e.g. failure to stat a command
line argument, an out of memory failure, etc.

Both info and man pages would have to changed.

I still think that the comments in the source are misleading, as per my comment
#3. Not fixing comments is an invitation to regression, *clearly* makes
reporting bugs more difficult, etc. But I have to pick my battles, and I'm
hoping to get another submission in on man(5) yum.conf. Rather more extensive,
though nothing like http://rhn.redhat.com/errata/RHBA-2008-0388.html.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the fedora-triage-list mailing list