Bug 232852 - ps(1): Improve the exit status section of the manual page
Summary: ps(1): Improve the exit status section of the manual page
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2018-10-31 16:11 UTC by Mateusz Piotrowski
Modified: 2018-10-31 17:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer 2018-10-31 16:11:56 UTC
As suggested by jilles in https://reviews.freebsd.org/D17146:

> This is not wrong, but perhaps some details about different types 
> of errors may be helpful, such as that nonexistent usernames in -U 
> are immediately fatal while an empty result (such as from only 
> nonexistent process IDs in -p or only existing users that do not 
> currently run any process in -U) still writes the header line (if 
> not disabled) and also returns a non-zero exit status.