提交 2cc1ad61 编写于 作者: E Eric Blake

virsh: fix logic bug

Bug introduced in commit 9a0ec363.

* tools/virsh.c (cmdUndefine): Add missing line.
上级 cfe35a88
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册