X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fexec.c;h=fbd9c268bcd74102ef0381ea11023944a9d59baf;hb=fcc889ea77bda0883b916f4760f59d6939545b8d;hp=14d288f1f419f78df74f26fd2b9b10afcbfe63d5;hpb=d6d42818a8794a756727a6bb56e3680c7eefd6f9;p=collectd.git diff --git a/src/exec.c b/src/exec.c index 14d288f1..fbd9c268 100644 --- 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);