Closed roock closed 8 years ago
Currently nginx init script return 0 if the configuration files is changed, but it should return an error code if the configuration check fails (e.g. this is the same behavior as for the apache init script).
This has been fixed with recent nginx versions by using exit $?
exit $?
Currently nginx init script return 0 if the configuration files is changed, but it should return an error code if the configuration check fails (e.g. this is the same behavior as for the apache init script).