Re: [libvirt] [PATCH] virsh: Fix regression of vol-resize

2013-05-24 Thread Osier Yang
On 24/05/13 16:18, Ján Tomko wrote: On 05/24/2013 06:05 AM, Osier Yang wrote: 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. --- tools/virsh-volume.

Re: [libvirt] [PATCH] virsh: Fix regression of vol-resize

2013-05-24 Thread Ján Tomko
On 05/24/2013 06:05 AM, Osier Yang wrote: > 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. > --- > tools/virsh-volume.c | 2 +- > 1 file changed, 1

[libvirt] [PATCH] virsh: Fix regression of vol-resize

2013-05-23 Thread Osier Yang
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. --- tools/virsh-volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virsh-