Commit 232cb4b3 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

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: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 7fa98a30
......@@ -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, &regs);
if (ret) {
pr_perror("ptrace");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment