--- /etc/init.d/nginx.bak 2015-10-13 15:16:05.825274725 +0000 +++ /etc/init.d/nginx 2015-10-13 15:28:28.595936328 +0000 @@ -129,7 +129,9 @@ do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; - 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 + exit 1 + ;; esac ;; stop)