Fixed a bug with checkpid file where a correctly created pid file was
getting a return code of "3".