﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
763	service nginx configtest always returns zero exit code	dandv.livejournal.com		"This issue affects [http://stackoverflow.com/questions/18587638/how-do-i-restart-nginx-only-after-the-config-test-was-successful-on-ubuntu many users] who mistakenly assume that '''configtest''' returns a useful error code.

{{{
# nginx -t && echo $?
nginx: [emerg] invalid parameter ""server_name"" in /etc/nginx/sites-enabled/piwik:5
nginx: configuration file /etc/nginx/nginx.conf test failed
# service nginx configtest && echo $?
 * Testing nginx configuration                              [fail]
0
# /etc/init.d/nginx configtest && echo $?
 * Testing nginx configuration                              [fail]
0
}}}

The version is 1.8.0 but I can't select that in the dropdown here on trac."	defect	closed	major		nginx-core	1.7.x	invalid			Linux localhost 4.0.2-x86_64-linode56 #1 SMP Mon May 11 16:55:19 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux	nginx version: nginx/1.8.0
