aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoremellor@ewan <emellor@ewan>2005-10-04 15:57:12 +0100
committeremellor@ewan <emellor@ewan>2005-10-04 15:57:12 +0100
commita4986d8ff86cfbb82fb5f7c9578087155db575fb (patch)
tree932cfc931422e4866fed348e37798095fa477666 /tools
parent1872f40d7898764a5bec726ca98c007ee3a8c2b2 (diff)
downloadxen-a4986d8ff86cfbb82fb5f7c9578087155db575fb.tar.gz
xen-a4986d8ff86cfbb82fb5f7c9578087155db575fb.tar.bz2
xen-a4986d8ff86cfbb82fb5f7c9578087155db575fb.zip
Fix xm restore broken by missing return statement.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/XendDomain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py
index 69a9917b1f..c18c0f61cb 100644
--- a/tools/python/xen/xend/XendDomain.py
+++ b/tools/python/xen/xend/XendDomain.py
@@ -248,7 +248,7 @@ class XendDomain:
"""Restore a domain from the given file descriptor."""
try:
- XendCheckpoint.restore(self, fd)
+ return XendCheckpoint.restore(self, fd)
except Exception, ex:
log.exception("Restore failed")
raise