mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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);
|
VIR_FREE(source);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = 0;
|
ret = true;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
VIR_FREE(disks);
|
VIR_FREE(disks);
|
||||||
|
Loading…
Reference in New Issue
Block a user