Commit d67397a3 authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov

dump: pre-dump should never kill processes

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 61546549
......@@ -1418,8 +1418,7 @@ static int cr_pre_dump_finish(struct list_head *ctls, int ret)
{
struct parasite_ctl *ctl, *n;
pstree_switch_state(root_item,
ret ? TASK_ALIVE : opts.final_state);
pstree_switch_state(root_item, TASK_ALIVE);
free_pstree(root_item);
timing_stop(TIME_FROZEN);
......
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