exec plugin: Fix a copy'n'paste mistake in a comment.
[collectd.git] / src / exec.c
index 5274797..9e3a20e 100644 (file)
@@ -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);