Thanks for the patch! I'll review and test it tonight, but it looks great.
On Mon, Oct 28, 2013 at 8:23 AM, Pim van den Berg < pim.van.den.b...@mendix.com> wrote: > Package: nginx-common > Severity: normal > Tags: patch > > Attached is a patch to make the init script show a fail message when > test_nginx_config fails: > > # /etc/init.d/nginx reload > [FAIL] Reloading nginx configuration: nginx failed! > > The init script only returned a status code when testing the nginx > configuration failed. No failure message at all. Therefor run > test_nginx_config > after calling log_daemon_msg. >