otherwise the main process will keep sitting in the directory from
where slaacd was started which might for example prevent an unmount.
Problem first observed by dlg in ntpd(8).
Discussed with deraadt@
-/* $OpenBSD: slaacd.c,v 1.30 2018/08/05 09:37:52 mestre Exp $ */
+/* $OpenBSD: slaacd.c,v 1.31 2018/08/19 12:29:03 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
log_setverbose(verbose);
if (!debug)
- daemon(1, 0);
+ daemon(0, 0);
log_info("startup");