Don't block udev if udev-helper sleeps
authorJeremy Kerr <jk@ozlabs.org>
Thu, 5 Apr 2007 04:36:34 +0000 (14:36 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 5 Apr 2007 04:36:34 +0000 (14:36 +1000)
commitd353f6e823d5b8cb949e20ae1139a5b7fbb0478b
tree3748fc8ee6fd49078cc54b2af77b01dc0a0533c0
parent6ce15c4265d3813ee311756ec03c6e4da74c1dbd
Don't block udev if udev-helper sleeps

If udev-helper is going to sleep(), then detach from the main udev
process first. Previously, this meant that new devices were 'stuck'
behind polling helpers.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
devices/udev-helper.c