]> xenbits.xensource.com Git - libvirt.git/commit
virsh: Fix regression of vol-resize
authorOsier Yang <jyang@redhat.com>
Fri, 24 May 2013 03:59:14 +0000 (11:59 +0800)
committerOsier Yang <jyang@redhat.com>
Fri, 24 May 2013 08:55:39 +0000 (16:55 +0800)
commit2a3a725c33aba2046443d33eb473eb54517f61c8
tree1d8b508f8f3f8d72362879148a17214930595a5f
parentd1527ba5d7eef941445b1b536860abe8eb75f92f
virsh: Fix regression of vol-resize

Introduced by commit 1daa4ba33acf. vshCommandOptStringReq returns
0 on *success* or the option is not required && not present, both
are right result. Error out when returning 0 is not correct.
the caller, it doesn't have to check wether it
tools/virsh-volume.c