summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 59c2228)
raw | patch | inline | side by side (parent: 59c2228)
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 5274797732aafe945c40264dcfeaa3bbe4f44741..9e3a20e6e26b0551807e5e312ba33c16e167dc3e 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);