Nginx init.d script not filtering out comments correctly when awk-ing for the PID

When you declare the PID file in /etc/nginx/nginx.conf file like this:
```
# set the pid file of Nginx
pid /var/run/nginx.pid;
```
The code (`PID=$(awk -F'[ ;]' '/[^#]pid/ {print $2}' /etc/nginx/nginx.conf)`) getting the PID will include the comment (even though it excludes all other comments) making `$PID` output as follows:
```
set
/var/run/nginx.pid
```
I changed the variable to be set with `awk -F'[ ;]' '$1 !~ /^#/ && /pid/ {print $2}' /etc/nginx/nginx.conf` and now it is working correctly when someone includes "pid" in any comment above.