mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh: fix logic bug
Bug introduced in commit 9a0ec36.
* tools/virsh.c (cmdUndefine): Add missing line.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user