diff --git a/criu/cr-dump.c b/criu/cr-dump.c index 4df40e9b6..98b4223ba 100644 --- a/criu/cr-dump.c +++ b/criu/cr-dump.c @@ -2329,8 +2329,6 @@ int cr_dump_tasks(pid_t pid) } ret = write_img_inventory(&he); - if (ret) - goto err; err: if (parent_ie) inventory_entry__free_unpacked(parent_ie, NULL);