From e7ab6fe635804c5d70500e242ffbe4c3fbbcb494 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 17 Oct 2019 16:00:40 +0300 Subject: [PATCH] restore: don't miss futex abort in restore_task_with_children Fixes: 37b99ebe5 ("files: Do setup_newborn_fds() later") Signed-off-by: Pavel Tikhomirov --- criu/cr-restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { /*