X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fexec.c;h=fbd9c268bcd74102ef0381ea11023944a9d59baf;hb=00345ba775a0c12d7c68e1f28edbd17cbdbc96ef;hp=14d288f1f419f78df74f26fd2b9b10afcbfe63d5;hpb=c7b0f0b0267f2ab7c84eea8306f0a516f5b8f769;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);