mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 12:57:57 +00:00
parasite: remove useless check from parasite_stop_on_syscall() (v2)
We have the same check a few lines above. v2: fix the subject Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
7fa98a30bc
commit
232cb4b34b
@ -912,10 +912,6 @@ int parasite_stop_on_syscall(int tasks, const int sys_nr)
|
||||
}
|
||||
|
||||
pr_debug("%d was trapped\n", pid);
|
||||
if (!WIFSTOPPED(status)) {
|
||||
pr_err("%d\n", status);
|
||||
return -1;
|
||||
}
|
||||
ret = ptrace_get_regs(pid, ®s);
|
||||
if (ret) {
|
||||
pr_perror("ptrace");
|
||||
|
Loading…
x
Reference in New Issue
Block a user