fix for nginx on a multinode with reload problem
Swapping if/else
Merge pull request #255 from nlake44/nginx-fix

Fix for nginx on a multinode with reload missing pid issue