Don't call daemon() after proc_init(), otherwise the child processes
authorgerhard <gerhard@openbsd.org>
Wed, 28 Jun 2023 12:31:19 +0000 (12:31 +0000)
committergerhard <gerhard@openbsd.org>
Wed, 28 Jun 2023 12:31:19 +0000 (12:31 +0000)
commit1fee06b04ef0d983e86b8eef050f0ca7489fc530
treeb52ef9682c2372920d8f7044125a7897441bbf59
parent756bef515602d6110fe462d63e36f9e4c96f2700
Don't call daemon() after proc_init(), otherwise the child processes
would lose their parent.

ok tobhe@
sbin/iked/iked.c
sbin/iked/proc.c