[Yum] yum exit codes

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

 



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 ?

thanks,
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