[Yum] Re: yum exit codes
Rex Dieter
rdieter at math.unl.edu
Fri Mar 3 19:50:17 UTC 2006
seth vidal wrote:
> On Fri, 2006-03-03 at 11:28 -0800, David Lutterkort wrote:
>
>>For an application that is not written in python, I need to do some
>>simple yum actions (yum update/yum install/yum list updates) and would
>>like to have a clean indication of whether the yum command succeeded or
>>not. Unfortunately, it seems that, e.g. yum install exits with return
>>code 0 even if something went wrong during the install.
>>
>>What is the recommended way of achieveing this without having to write
>>my own python gluecode ?
>
>
> define a failure for me:
I'd argue that *any* form of failure, even partial, should not return
0/success.
-- Rex
More information about the Yum
mailing list