Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
c6b79bd3
Commit
c6b79bd3
authored
Sep 16, 2013
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
service: Don't forget to send dump-failed message
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
5f47e0a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cr-service.c
cr-service.c
+3
-3
No files found.
cr-service.c
View file @
c6b79bd3
...
@@ -161,9 +161,9 @@ static int dump_using_req(CriuDumpReq *req)
...
@@ -161,9 +161,9 @@ static int dump_using_req(CriuDumpReq *req)
goto
exit
;
goto
exit
;
}
}
success
=
true
;
exit:
if
(
req
->
has_leave_running
&&
req
->
leave_running
)
{
if
(
req
->
has_leave_running
&&
req
->
leave_running
)
{
success
=
true
;
exit:
if
(
send_criu_dump_resp
(
cr_service_client
->
sk_fd
,
if
(
send_criu_dump_resp
(
cr_service_client
->
sk_fd
,
success
,
false
)
==
-
1
)
{
success
,
false
)
==
-
1
)
{
pr_perror
(
"Can't send response"
);
pr_perror
(
"Can't send response"
);
...
@@ -266,7 +266,7 @@ int cr_service(bool daemon_mode)
...
@@ -266,7 +266,7 @@ int cr_service(bool daemon_mode)
}
}
switch
(
msg
->
type
)
{
switch
(
msg
->
type
)
{
case
CRIU_REQ_TYPE__DUMP
:
case
CRIU_REQ_TYPE__DUMP
:
exit
(
dump_using_req
(
msg
->
dump
));
exit
(
dump_using_req
(
msg
->
dump
));
default:
default:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment