mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
virsh: add error message when no graphical display is found
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
17bddc46f4
commit
e858628e45
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user