Re: package-cleanup exit status not documented

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

On Mon, 6 Jul 2009, Ed Avis wrote:

> Hi, the package-cleanup(1) manual page doesn't mention the command's exit status.
> Could this be added?

sure.

>
> It appears that 'package-cleanup --problems' reports a nonzero status if there
> are problems, while --leaves does not.  Is this correct?

yes.

--problems outputs issues - so a non-zero exit status would help you know 
that problems were found.


--leaves just reports  leaf nodes - leaf nodes are not a problem in and of 
themselves.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.