[Yum] Re: yum exit codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-03-03 at 14:54 -0500, Ryan Frantz wrote:
> Perhaps exit codes should be more defined.  For example, '0' would
> always be absolute success (all packages installed successfully).
> 
> 1 = One or more packages failed to install dependencies
> 2 = One or more packages are already installed
> 4 = All selected packages failed
> ...

This looks like a good idea, though it's a little more than what I need
right now. Maybe, for now, we should just restrict ourselves to 0 and 1
as possible exit codes, and leave exit code bitmasks for the future when
there is a need for more detailed analysis of the failure.

David



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux