提交 b9cad8b7 编写于 作者: J Jiri Denemark

virsh: Interrupt *event --loop on disconnect

The *event --loop commands would keep running even though a connection
to libvirtd is lost. This doesn't make a lot of sense since clearly we
won't get any new events from the closed connection.
Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 786d735d
......@@ -130,6 +130,7 @@ virshCatchDisconnect(virConnectPtr conn,
virFreeError(error);
}
disconnected++;
vshEventDone(ctl);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册