turned on exec on all systems except for Windows; tested & working on FreeBSD

This commit is contained in:
Roman Arutyunyan 2012-08-13 17:02:49 +04:00
parent 3d3d898430
commit 50931a9e29

View file

@ -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;
} }