Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
tools/virsh-domain.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index ba47258..4652b7e 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -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);
--
2.0.2