]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virsh: report errors for empty strings
authorJán Tomko <jtomko@redhat.com>
Thu, 3 Dec 2015 12:42:35 +0000 (13:42 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 3 Dec 2015 12:58:52 +0000 (13:58 +0100)
commit45138725cf2a14575aa5204fe55efd6668b9b03a
tree634a9e59bcc9cb40dcc585667af8aa9a64b7424b
parent1e6d87bdfc801d2c006a17054bd19273430dce14
virsh: report errors for empty strings

Several callers were using vshCommandOptString without setting an error.
Use vshCommandOptStringReq which sets the error.

https://bugzilla.redhat.com/show_bug.cgi?id=1281707
tools/virsh-domain-monitor.c
tools/virsh-domain.c
tools/virsh-network.c