bugfix, when an rpm -e (from /etc/planetlab/delete-rpm-list) fails
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 6 May 2013 12:20:38 +0000 (14:20 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 6 May 2013 12:20:38 +0000 (14:20 +0200)
NodeUpdate.py

index afd0704..704f544 100644 (file)
@@ -252,7 +252,7 @@ class NodeUpdate:
                     Message ("Successfully removed RPM %s"%rpm)
                     continue
                 else:
-                    Error( "Unable to delete RPM %s, continuing. rc=%d" % (rpm,rc ))
+                    Error( "Unable to delete RPM %s, continuing. rc=%d" % (rpm,uninstalled))
             
         else:
             Message( "No RPMs list file found." )