daemon: flatten and simplify fork() logic
Reviewed by: kevans Pull Request: https://github.com/freebsd/freebsd-src/pull/672