From: Thierry Parmentelat Date: Mon, 6 May 2013 12:20:38 +0000 (+0200) Subject: bugfix, when an rpm -e (from /etc/planetlab/delete-rpm-list) fails X-Git-Tag: nodeupdate-0.5-10~1 X-Git-Url: http://git.onelab.eu/?p=nodeupdate.git;a=commitdiff_plain;h=ad27085b67f6414bb6ba9903102bd1a5d2bf5dd4 bugfix, when an rpm -e (from /etc/planetlab/delete-rpm-list) fails --- diff --git a/NodeUpdate.py b/NodeUpdate.py index afd0704..704f544 100644 --- a/NodeUpdate.py +++ b/NodeUpdate.py @@ -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." )