Commit [465c73] Maximize Restore History

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 <>

John Wehle John Wehle 2010-08-27

Jarod Wilson Jarod Wilson 2010-08-27

changed daemons
changed daemons/serial.c
daemons/serial.c Diff Switch to side-by-side view