mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
virsh: fix logic bug
Bug introduced in commit 9a0ec36
.
* tools/virsh.c (cmdUndefine): Add missing line.
This commit is contained in:
parent
cfe35a88f0
commit
2cc1ad61c7
@ -1449,6 +1449,7 @@ cmdUndefine(vshControl *ctl, const vshCmd *cmd)
|
||||
return false;
|
||||
|
||||
if (!(dom = vshCommandOptDomain(ctl, cmd, &name)))
|
||||
return false;
|
||||
|
||||
has_managed_save = virDomainHasManagedSaveImage(dom, 0);
|
||||
if (has_managed_save < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user