2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

actions: report pid in the post-restore notification

libcontainer saves PID in a state file.

Signed-off-by: Andrew Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2015-03-31 10:45:26 +03:00
committed by Pavel Emelyanov
parent 79e0b37c4e
commit 39e3859d3d

View File

@@ -163,6 +163,7 @@ int send_criu_rpc_script(enum script_actions act, char *name, int fd)
switch (act) {
case ACT_SETUP_NS:
case ACT_POST_RESTORE:
/*
* FIXME pid is required only once on
* restore. Need some more sane way of