projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exec plugin: Fix a copy'n'paste mistake in a comment.
[collectd.git]
/
src
/
exec.c
diff --git
a/src/exec.c
b/src/exec.c
index
5274797
..
9e3a20e
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-491,7
+491,7
@@
static int fork_child (program_list_t *pl, int *fd_in, int *fd_out, int *fd_err)
close (fd_pipe_out[1]);
}
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);
if (fd_pipe_err[1] != STDERR_FILENO)
{
dup2 (fd_pipe_err[1], STDERR_FILENO);