correct location of pid file in warning