提交 9927ca62 编写于 作者: D Daniel P. Berrange

Report detailed error if initial connection open attempt fails

上级 9959a1dd
Mon May 11 15:55:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
* src/virsh.c: Report detailed error if initial connection open
attempt fails
Mon May 11 16:03:37 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/lxc_container.c: drop LXC CAP_SYS_BOOT capability to avoid
......
......@@ -6876,6 +6876,7 @@ vshInit(vshControl *ctl)
* such as "help".
*/
if (!ctl->conn) {
virshReportError(ctl);
vshError(ctl, FALSE, "%s", _("failed to connect to the hypervisor"));
return FALSE;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册