exec plugin: Really remove STDERR from the select() set.
authorFlorian Forster <octo@collectd.org>
Wed, 12 Sep 2012 16:25:20 +0000 (18:25 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 12 Sep 2012 16:26:22 +0000 (18:26 +0200)
commitdc0b5c71ffa2608bb63b1b2e63f52768681959c1
treea7c2b02d21d568feeb109bfd681a4dd23fe84c52
parentf9917650c7f661c71c8010dac9e707f075d25039
exec plugin: Really remove STDERR from the select() set.

select(2) is actually using a variable called "copy", which we didn't set in
this case.

Fixes Github issue #12. Thanks to Tetsuya Kawaguchi for reporting this problem.
src/exec.c