提交 e858628e 编写于 作者: M Martin Kletzander

virsh: add error message when no graphical display is found

Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 17bddc46
......@@ -9543,6 +9543,9 @@ cmdDomDisplay(vshControl *ctl, const vshCmd *cmd)
break;
}
if (!ret)
vshError(ctl, _("No graphical display found"));
cleanup:
VIR_FREE(doc);
VIR_FREE(xpath);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册