Code

exec plugin: Allow executed programs to close STDERR.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 19 Mar 2009 18:46:01 +0000 (19:46 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 19 Mar 2009 18:46:01 +0000 (19:46 +0100)
commit5e1c92743686af477770abe7029083d1e7100455
tree95b94be1e3c66da71f0c28b6f1551a57e498d316
parentfb2742be4ab8868f67f563e0381ea98f1f0a8d87
exec plugin: Allow executed programs to close STDERR.

When an executed program is closing STDERR but continues running, the
daemon will wait for the child to exit and the child will eventually
block because the pipe is filled up, resulting in no statistics being
collected.

Thanks to Thorsten von Eicken for finding this problem :)
src/exec.c