mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 12:37:35 +00:00
lxc-checkpoint should fail if criu gets signal
The ->checkpoint() API call didn't exit correctly if criu was killed by a signal instead of exiting, so lxc-checkpoint didn't fail correctly as a result. Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
a5475f8f44
commit
c49ecd787d
@ -3929,6 +3929,10 @@ out_unlock:
|
||||
goto out_fini_handler;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ERROR("CRIU was killed with signal %d\n", WTERMSIG(status));
|
||||
error = true;
|
||||
goto out_fini_handler;
|
||||
}
|
||||
|
||||
if (lxc_poll(c->name, handler)) {
|
||||
|
Loading…
Reference in New Issue
Block a user