Commit 7ae8d6e3 authored by Adrian Reber's avatar Adrian Reber Committed by Andrei Vagin

criu service: support status-fd

Make the --status-fd option also work in 'criu service' mode to avoid
race conditions during testing.
Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 2c5b2785
......@@ -1206,6 +1206,9 @@ int cr_service(bool daemon_mode)
if (setup_sigchld_handler())
goto err;
if (close_status_fd())
return -1;
while (1) {
int sk;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment