]> git.ipfire.org Git - thirdparty/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)
committerJán Tomko <jtomko@redhat.com>
Thu, 3 Oct 2013 08:00:05 +0000 (10:00 +0200)
commit729bd0a37adbb20472500ab090c99ac684697fa0
tree22b8592cc97132b80c05880d54b8f66850c48c07
parent3e070c81abd90877dd6c8bf4aa3f5bb077e8a647
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
(cherry picked from commit 2a3a725c33aba2046443d33eb473eb54517f61c8)
tools/virsh-volume.c