提交 d082e1b9 编写于 作者: A Alex Jia 提交者: Michal Privoznik

virsh: correct return value error

Fix cmdDomblklist to return 'true' on success instead of '0'

https://bugzilla.redhat.com/show_bug.cgi?id=758590Signed-off-by: NAlex Jia <ajia@redhat.com>
上级 1f8a339d
......@@ -1745,7 +1745,7 @@ cmdDomblklist(vshControl *ctl, const vshCmd *cmd)
VIR_FREE(source);
}
ret = 0;
ret = true;
cleanup:
VIR_FREE(disks);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册