Close /dev/hotplug on exec(). Otherwise a restart of the daemon may
authornatano <natano@openbsd.org>
Sun, 31 Jul 2016 20:13:12 +0000 (20:13 +0000)
committernatano <natano@openbsd.org>
Sun, 31 Jul 2016 20:13:12 +0000 (20:13 +0000)
commit90365ab5630e3747aa06b2a318b8ac39f92bc329
tree4529806de902d33cfa9664461919c69857e09317
parent319936c73e870433a4580a61c78fb9cf01f34dd5
Close /dev/hotplug on exec(). Otherwise a restart of the daemon may
fail, because the device is occupied by a child process.

from Alexey Vatchenko
ok jca
usr.sbin/hotplugd/hotplugd.c