Make daemonize wait on children
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 21 Jan 2017 17:05:06 +0000 (12:05 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 21 Jan 2017 17:07:06 +0000 (12:07 -0500)
commit7afba53b2a1f652cd60c0d7a611b9b6f5f06b808
treebf963357d0c7aeaa7fb83127123a963a12ecc7f9
parente813767e983d1e7f8b0e4db7ba7e3cc73588d18c
Make daemonize wait on children

Otherwise, if a child exits or is killed before it can signal the
parent, daemonize will never return and propagate the error.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tests/daemonize.c