daemon: quiet spurious serial invalid lock complaints
The enclosed lightly tested patch quiets some spurious serial invalid
lock complaints which occur on FreeBSD 8.1.
1) Skip "." and ".." when looking for locks.
2) Requiring the pid in the lock file to be newline terminated is
overly strict ... treat it as valid if it's the only thing in
the file or if it's newline terminated.
Signed-off-by: Jarod Wilson <email@example.com>
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.