]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r288335:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 13 Oct 2015 08:21:15 +0000 (08:21 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 13 Oct 2015 08:21:15 +0000 (08:21 +0000)
commit7373ada3f3f8e8a41a1378573fd7bd1cfa9d26f6
tree1b007a7aaac7c40e942031cbd037d0d85d290550
parent2334f2d44362505c5bc6e447d14a6970b2304d72
MFC r288335:
Store PID after becoming a daemon() and not before to ensure the
correct PID gets written to the PID file.

PR: 203252

git-svn-id: svn://svn.freebsd.org/base/stable/10@289218 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/usbhidaction/usbhidaction.c