Commit 08a0148b authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r9012] Stupid typo. How did this work while testing?

parent fb62e578
......@@ -47,7 +47,7 @@ HYD_status HYDU_create_process(char **client_arg, struct HYD_env *env_list,
close(STDERR_FILENO);
if (err) {
close(errpipe[0]);
if (dup2(errpipe[1] != STDERR_FILENO && errpipe[1], STDERR_FILENO) < 0)
if (errpipe[1] != STDERR_FILENO && dup2(errpipe[1], STDERR_FILENO) < 0)
HYDU_ERR_SETANDJUMP(status, HYD_SOCK_ERROR, "dup2 error (%s)\n",
HYDU_strerror(errno));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment