diff --git a/criu/cr-service.c b/criu/cr-service.c index 274ff218b..3a07d5b76 100644 --- a/criu/cr-service.c +++ b/criu/cr-service.c @@ -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;