23
28
+ moved m_register_pid AFTER the initial fork()-to-become-daemon,
24
29
otherwise wrong pid is registered.
25
30
+ d'oh. move m_reduce_rights AFTER m_register_pid, otherwise can't
27
32
- NOTE, snprintf is not portable. must be removed in future.