mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
virsh: correct return value error
Fix cmdDomblklist to return 'true' on success instead of '0' https://bugzilla.redhat.com/show_bug.cgi?id=758590 Signed-off-by: Alex Jia <ajia@redhat.com>
This commit is contained in:
parent
1f8a339dee
commit
d082e1b966
@ -1745,7 +1745,7 @@ cmdDomblklist(vshControl *ctl, const vshCmd *cmd)
|
||||
VIR_FREE(source);
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
ret = true;
|
||||
|
||||
cleanup:
|
||||
VIR_FREE(disks);
|
||||
|
Loading…
x
Reference in New Issue
Block a user