ntpd(8) has logic in place to delete its control socket on shutdown, but it
authormestre <mestre@openbsd.org>
Thu, 2 Aug 2018 13:05:34 +0000 (13:05 +0000)
committermestre <mestre@openbsd.org>
Thu, 2 Aug 2018 13:05:34 +0000 (13:05 +0000)
commitb6e523423a93fe0bacc8cedf6741e944a89f1cfc
treea11478e0bb9217b485a63bc25428dcea9fc0f41f
parent6cda1164ad3827690e1b05b7db1c601382c9e656
ntpd(8) has logic in place to delete its control socket on shutdown, but it
currently doesn't call the function control_cleanup to do so. The solution is
to simply call that function just before the program quits.

"sure" henning@
usr.sbin/ntpd/ntpd.c