]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: fix always return false in domrename
authorLuyao Huang <lhuang@redhat.com>
Mon, 17 Aug 2015 05:21:59 +0000 (13:21 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 17 Aug 2015 16:43:17 +0000 (12:43 -0400)
Signed-off-by: Luyao Huang <lhuang@redhat.com>
tools/virsh-domain.c

index 173bb156f3ab5a6fb8a290336e21807654ebe25c..437e43e6c3e5a69170832f112fdcab0691e4c5a1 100644 (file)
@@ -9827,7 +9827,7 @@ cmdDomrename(vshControl *ctl, const vshCmd *cmd)
 
  cleanup:
     virDomainFree(dom);
-    return false;
+    return ret;
 }
 
 /*