mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
compel: Log the status word with "Task is still running" errors.
Signed-off-by: Michał Mirosław <emmir@google.com>
This commit is contained in:
parent
664598dc74
commit
5a723937a2
1 changed files with 2 additions and 2 deletions
|
|
@ -589,7 +589,7 @@ static int parasite_trap(struct parasite_ctl *ctl, pid_t pid, user_regs_struct_t
|
|||
}
|
||||
|
||||
if (!WIFSTOPPED(status)) {
|
||||
pr_err("Task is still running (pid: %d)\n", pid);
|
||||
pr_err("Task is still running (pid: %d, status: 0x%x)\n", pid, status);
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
|
@ -1398,7 +1398,7 @@ static int parasite_fini_seized(struct parasite_ctl *ctl)
|
|||
|
||||
pr_debug("Daemon %d exited trapping\n", pid);
|
||||
if (!WIFSTOPPED(status)) {
|
||||
pr_err("Task is still running (pid: %d)\n", pid);
|
||||
pr_err("Task is still running (pid: %d, status: 0x%x)\n", pid, status);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue