Commit 5fab7f32 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

maps007: save core files in a error case

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent deb61cdb
......@@ -160,6 +160,7 @@ int main(int argc, char **argv)
return 0;
err:
kill(child, SIGKILL);
kill(child, SIGSEGV);
*((int *) 0) = 0;
return 1;
}
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