re-open log after fork (precheck)

Signed-off-by: nixnodes <code@nixnodes.net>