mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
virsh: return correct value from cmdDomIfGetLink
Reported by Alex Jia <ajia@redhat.com>. Function cmdDomIfGetLink did not set a success return value on success path. Signed-off-by: Alex Jia<ajia@redhat.com>
This commit is contained in:
parent
33eb3567dd
commit
6235629648
@ -1568,6 +1568,7 @@ hit:
|
||||
/* attribute not found */
|
||||
vshPrint(ctl, "%s default", iface);
|
||||
|
||||
ret = true;
|
||||
cleanup:
|
||||
xmlXPathFreeObject(obj);
|
||||
xmlXPathFreeContext(ctxt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user