mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-07 04:58:47 +03:00
ATM we have several instances of daemonizing code. Each has its 'special' logic so not completely easy to unify them all into a single routine. Start to unify them and use one strategy for rediricting all input/outpus to /dev/null - use 'dup2' function for this and open /dev/null before fork to make sure it's available.