mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-19 09:41:07 +02:00
fixed prctl call
This commit is contained in:
parent
b2ba2680a3
commit
98efe9ed7f
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue