syslog patch and 0.7.x

Jean-Baptiste Quenot jbq at caraldi.com
Mon Nov 23 14:12:11 MSK 2009


2009/11/17 Nam <nginx-forum at nginx.us>:
> I had to make a change to the patch in order to get it working....
>
> +if test -n "$USE_SYSLOG"; then
>
> instead of
>
> +if [[ "${USE_SYSLOG}" == "YES" ]]; then
>
> which got things working for me.

Indeed, sh is not bash, that's why I submitted this patch against 0.6.x:
http://wiki.nginx.org/File:Syslog_0.6.35_sh_is_not_bash.patch

We should probably do the same for 0.7.x...
-- 
Jean-Baptiste Quenot




More information about the nginx mailing list