[XM] Fix rmlabel filename assignment

The patch fixes a bug in the rmlabel tool.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
Alastair Tse committed 2006-10-03 11:24:48 +01:00
1 parent 2763180650
commit b4c2b3ae59
1 file changed
+2 -1
+2 -1
View File
@@ -60,7 +60,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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.