[yum-cvs] cli.py

Seth Vidal skvidal at linux.duke.edu
Wed Nov 14 20:22:32 UTC 2007


 cli.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7ece1ce8b7006f16ba9b24bca694b646fc1926bf
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Nov 14 15:19:22 2007 -0500

    make sure errors frpm the rpm_check_debug() exit with an error code
    thanks to matt miller for pointing it out.

diff --git a/cli.py b/cli.py
index a410119..7832b74 100644
--- a/cli.py
+++ b/cli.py
@@ -350,7 +350,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
                 for msg in msgs:
                     print msg
     
-                return 0, ['Please report this error in bugzilla']
+                return 1, ['Please report this error in bugzilla']
                 
             
         self.verbose_logger.log(yum.logginglevels.INFO_2,



More information about the Yum-cvs-commits mailing list