The pid file is a run-time resource, which will not be valid on reboot anyway. There's no need to guarantee its durability. But now that we are not checking for errors from flushing the stream, check them instead when closing it, which we should have been doing anyway.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||