[Yum] About the log level and information messages

seth vidal skvidal at phy.duke.edu
Thu Apr 1 06:01:07 UTC 2004


On Fri, 2004-03-26 at 01:40 -0500, David Christian wrote:

> Attached is a simple patch that checks to see if the input is a tty (and 
> that -y is off) and if so, prints out the actions yum will take.  I 
> think this is a reasonable short-term fix: there's no reason why yum 
> should print out ask the user for an answer to "Is this ok?" from a tty 
> without printing out what it is asking for advice about.  The other 
> solution would be to assume the -y option when the log level is 1.
> 
> Note that this patch won't break cron scripts since behavior when yum is 
> run without being attached to a tty is unchanged.

I merged this into cvs tonight. It'll go out with the next daily
snapshot.

-sv








More information about the Yum mailing list