project-hatohol/hatohol — pull request #660 by cosmo0920 (2014-10-01 13:55:50+00:00)
Title: [Server] suppress warning when hatohol terminates in foreground mode

Because following error displayed when hatohol server terminates in foreground mode:
```log
[ERR] Failed to remove pid file: /tmp/hatohol.pid
```

In foreground mode, hatohol server doesn't create pidfile.
So, it needs check pidfile existence instead of check pidFilePath.length()