mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-01 06:09:32 +02:00
turned on exec on all systems except for Windows; tested & working on FreeBSD
This commit is contained in:
parent
3d3d898430
commit
50931a9e29
|
@ -320,7 +320,7 @@ dollar:
|
||||||
static ngx_int_t
|
static ngx_int_t
|
||||||
ngx_rtmp_exec_run(ngx_rtmp_session_t *s, size_t n)
|
ngx_rtmp_exec_run(ngx_rtmp_session_t *s, size_t n)
|
||||||
{
|
{
|
||||||
#ifdef NGX_LINUX
|
#ifndef NGX_WIN32
|
||||||
ngx_rtmp_exec_app_conf_t *eacf;
|
ngx_rtmp_exec_app_conf_t *eacf;
|
||||||
ngx_rtmp_exec_ctx_t *ctx;
|
ngx_rtmp_exec_ctx_t *ctx;
|
||||||
int pid;
|
int pid;
|
||||||
|
@ -416,7 +416,7 @@ ngx_rtmp_exec_run(ngx_rtmp_session_t *s, size_t n)
|
||||||
&ec->cmd, (ngx_uint_t)pid);
|
&ec->cmd, (ngx_uint_t)pid);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif /* NGX_LINUX */
|
#endif /* NGX_WIN32 */
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue