* Ben Hutchings [Sun Nov 02, 2014 at 02:06:29AM +0000]:
> On Sun, 2014-11-02 at 02:34 +0100, Christian Hofstaedtler wrote:

> > dash "backs up" any FDs it redirects, so it can restore them
> > later on. bash just closes them outright in this situation (forked
> > subshell + parent exits), causing udev's spawn_read to immediately,
> > thereby marking the udev event as finished.

> That makes *much* more sense.
[...]
> This seems to work under both bash and dash:

> exec > /dev/null 2> /dev/null
> do_everything &

I can confirm that also this works and solves the problem for
non-systemd systems.

Thanks, Ben!

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to