[Yum] Re: yum exit codes

Peter C. Norton spacey-yum at lenin.net
Fri Mar 3 21:03:06 UTC 2006


On Fri, Mar 03, 2006 at 01:52:31PM -0700, Michael Stenner wrote:
> On Fri, Mar 03, 2006 at 12:40:55PM -0800, Peter C. Norton wrote:
> > > Anyway, my main point is that 0 should mean nothing wacky happened
> > > (again, just make the call to serve as many people as possible... the
> > > rest will just have to cope), provide specific feedback for a few
> > > common cases and provide general feedback for the rest.  That'll meet
> > > the needs of 95% of the people who want this.  The rest will have to
> > > suck it up.  That's what they have to do now.
> 
> Well, it already does, right?  We're just talking about duplicating
> that information (to the extent it's possible) in the exit code.
> 
> 					-Michael

I mean in a concise 1-line form like:
pkgs installed:1 failed:2 missing 1 groups: completed 1 incomplete 3

Or somethign like that.

-Peter

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.




More information about the Yum mailing list