projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Export extractExTags and updateExclTags
[ganeti-local]
/
lib
/
client
/
gnt_cluster.py
diff --git
a/lib/client/gnt_cluster.py
b/lib/client/gnt_cluster.py
index
f6ef9a6
..
408fde7
100644
(file)
--- a/
lib/client/gnt_cluster.py
+++ b/
lib/client/gnt_cluster.py
@@
-522,6
+522,8
@@
def ClusterCopyFile(opts, args):
"""
filename = args[0]
+ filename = os.path.abspath(filename)
+
if not os.path.exists(filename):
raise errors.OpPrereqError("No such filename '%s'" % filename,
errors.ECODE_INVAL)