projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix pointer confusion for nested attribute parsing
[collectd.git]
/
src
/
exec.c
diff --git
a/src/exec.c
b/src/exec.c
index
14d288f
..
fbd9c26
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-493,7
+493,7
@@
static int fork_child (program_list_t *pl, int *fd_in, int *fd_out, int *fd_err)
close (fd_pipe_out[1]);
}
- /* Now connect the `
out' pipe to STDOUT
*/
+ /* Now connect the `
err' pipe to STDERR
*/
if (fd_pipe_err[1] != STDERR_FILENO)
{
dup2 (fd_pipe_err[1], STDERR_FILENO);