projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c2228
)
exec plugin: Fix a copy'n'paste mistake in a comment.
author
Florian Forster
<octo@collectd.org>
Thu, 21 Feb 2013 09:35:59 +0000
(10:35 +0100)
committer
Florian Forster
<octo@collectd.org>
Thu, 21 Feb 2013 09:35:59 +0000
(10:35 +0100)
Thanks to Robert Riches Jr for the hint.
src/exec.c
patch
|
blob
|
history
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]);
}
- /* 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);