Be more careful in daemon_init().