[CRIU] [PATCH 2/2] service: reinit opts at cr_service_work

Ruslan Kuprieiev kupruser at gmail.com
Mon Oct 21 03:08:51 PDT 2013


diff --git a/cr-service.c b/cr-service.c
index 771944c..1c14466 100644
--- a/cr-service.c
+++ b/cr-service.c
@@ -222,6 +222,8 @@ static int cr_service_work(int sk)
 {
 	CriuReq *msg = 0;
 
+	init_opts();
+
 	if (recv_criu_msg(sk, &msg) == -1) {
 		pr_perror("Can't recv request");
 		goto err;
-- 
1.8.1.2



More information about the CRIU mailing list