fixed prctl call

This commit is contained in:
Roman Arutyunyan 2013-01-31 21:41:14 +04:00
parent b2ba2680a3
commit 98efe9ed7f

View file

@ -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 */