提交 3fc73cd3 编写于 作者: D Daniel P. Berrange

Reset the 'quit' flag in virNetServerRun

To allow virNetServerRun/virNetServerQuit to be invoked multiple
times, we must reset the 'quit' flag in virNetServerRun
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 be873da5
......@@ -700,6 +700,8 @@ void virNetServerRun(virNetServerPtr srv)
goto cleanup;
#endif
srv->quit = 0;
if (srv->autoShutdownTimeout &&
(timerid = virEventAddTimeout(-1,
virNetServerAutoShutdownTimer,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册