Skip to contentSkip to conversation

Fix a bug in the rmlabel tool

PATCH Applied Stefan Berger 2 participants 2 messages Sep 30, 2006 – Oct 3, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix a bug in the rmlabel tool

The patch fixes a bug in the rmlabel tool.

xen-unstable.hg/tools/python/xen/xm/rmlabel.py +2 -1
Index: root/xen-unstable.hg/tools/python/xen/xm/rmlabel.py
===================================================================
@@ -57,7 +57,8 @@ def rm_domain_label(configfile):
     fd = None
     file = None
     if configfile[0] == '/':
-        fd = open(configfile, "rb")
+        file = configfile
+        fd = open(file, "rb")
     else:
         for prefix in [".", "/etc/xen"]:
             file = prefix + "/" + configfile

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel