mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
Change crtools to criu in criu messages
Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
00ab805b74
commit
c19e62f87c
@ -1216,7 +1216,7 @@ static int restore_root_task(struct pstree_item *init, struct cr_options *opts)
|
||||
if (!(current_ns_mask & CLONE_NEWPID)) {
|
||||
pr_err("This process tree can only be restored "
|
||||
"in a new pid namespace.\n"
|
||||
"crtools should be re-executed with the "
|
||||
"criu should be re-executed with the "
|
||||
"\"--namespace pid\" option.\n");
|
||||
return -1;
|
||||
}
|
||||
|
2
ptrace.c
2
ptrace.c
@ -73,7 +73,7 @@ int seize_task(pid_t pid, pid_t ppid, pid_t *pgid, pid_t *sid)
|
||||
if (ret < 0) {
|
||||
if (ps.state != 'Z') {
|
||||
if (pid == getpid())
|
||||
pr_err("The crtools itself is within dumped tree.\n");
|
||||
pr_err("The criu itself is within dumped tree.\n");
|
||||
else
|
||||
pr_err("Unseizable non-zombie %d found, state %c, err %d/%d\n",
|
||||
pid, ps.state, ret, ptrace_errno);
|
||||
|
Loading…
x
Reference in New Issue
Block a user