X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fexec.c;h=ee37c607e4d4c5f6b6174c977a74677ce6b0abe4;hb=d6021a800b12c89b5a78877af2c5b9abc1a8e609;hp=0e807c75bc18e7dc59547471b3c35c57915979ac;hpb=400596160704146845940d7d9c4f794c0d2ddc03;p=collectd.git diff --git a/src/exec.c b/src/exec.c index 0e807c75..ee37c607 100644 --- a/src/exec.c +++ b/src/exec.c @@ -492,7 +492,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);