From 98efe9ed7f9023c616088e0f28e72e95d5ec5304 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 31 Jan 2013 21:41:14 +0400 Subject: [PATCH] fixed prctl call --- ngx_rtmp_exec_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_exec_module.c b/ngx_rtmp_exec_module.c index deb2fd0..2c2fd87 100644 --- a/ngx_rtmp_exec_module.c +++ b/ngx_rtmp_exec_module.c @@ -477,7 +477,7 @@ ngx_rtmp_exec_run(ngx_rtmp_exec_t *e) /* child */ #if (NGX_LINUX) - prctl(PR_GET_PDEATHSIG, SIGKILL, 0, 0, 0); + prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); #endif /* close all descriptors but pipe write end */