提交 2273e408 编写于 作者: L Lin Ma 提交者: Peter Krempa

virsh: Error out while domain not found for 'event' command

Signed-off-by: NLin Ma <lma@suse.com>
上级 b925e662
......@@ -13445,7 +13445,9 @@ cmdEvent(vshControl *ctl, const vshCmd *cmd)
goto cleanup;
if (vshCommandOptBool(cmd, "domain"))
dom = virshCommandOptDomain(ctl, cmd, NULL);
if (!(dom = virshCommandOptDomain(ctl, cmd, NULL)))
goto cleanup;
if (vshEventStart(ctl, timeout) < 0)
goto cleanup;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册