Properly detect pid-file command line argument
Properly detect pid-file command line argument

The option parser was using a global variable, whilst the code
was checking a local one. Removed the local and kept the other.

aperezdc/dmon