diff --git a/criu/cr-restore.c b/criu/cr-restore.c index 2f9bab414..195fa5639 100644 --- a/criu/cr-restore.c +++ b/criu/cr-restore.c @@ -1790,7 +1790,7 @@ static int restore_task_with_children(void *_arg) } if (log_init_by_pid(vpid(current))) - return -1; + goto err; if (current->parent == NULL) { /*